Build a Headless WordPress Site with Nuxt 3

Поділитися
Вставка
  • Опубліковано 19 жов 2024

КОМЕНТАРІ • 16

  • @akdigital84
    @akdigital84 7 місяців тому +1

    Many thanks to you for this first step which allowed me to launch into my first WordPress headless application ! For my part, I had to add the flag "server: false," in the index.vue file under "transform(data){...}," in order to obtain the data on page reload. I'm on a Local WP install. I hope this helps some.

  • @FAFJAPPDAPP
    @FAFJAPPDAPP Рік тому

    Thank you. Is there a finished headless site to look at?

  • @diegom8181
    @diegom8181 Рік тому

    Hey, Nice video. I was peeking through your project plugins and saw one called WPGraphQL for FSE. Do you have any information about that plugin? Cheers!

    • @WPEngineBuilders
      @WPEngineBuilders  Рік тому +1

      Thanks for the kind words. Here's the link to the repo: github.com/AxeWP/wp-graphql-site-editor

    • @WPEngineBuilders
      @WPEngineBuilders  Рік тому +1

      It's pretty experimental, but worth playing around with if you are interested

  • @trowl8715
    @trowl8715 Рік тому

    Hey Just a question: I just found out that wordpress is also available as a headless cms. So I wanna build some sites that are basically just content and contanct form at max. But SEO on that is really important. Would you recommend nuxt3 or Astro for building these sites?

    • @WPEngineBuilders
      @WPEngineBuilders  Рік тому +2

      I think either is a great choice TBH. Nuxt might have more advanced built-in functions for managing SEO info, but Astro would likely be slightly more performant. Both would let you generate a static site if you wanted, so no bad choices here. Might come down to what you know better - JE

  • @thijmenperdon7399
    @thijmenperdon7399 11 місяців тому +1

    What vscode theme do you use?

  • @RuhRohRaggys225
    @RuhRohRaggys225 9 місяців тому

    When I refresh my index page, the posts disappear. Any clue what's happening?

  • @AlexGamerHD
    @AlexGamerHD 11 місяців тому +2

    After building a complete nuxt 3 blog and then scrapping the whole idea and making a completly custom wordpress theme with the same design as the nuxt blog, I can tell you there is absolutely no point to use anything else than pure wordpress. It comes with so many features and plugins like rank math and is extremely fast when you have a lightweight custom theme, there is no point to do something else. I hope I saved someone the time that I lost.

    • @WPEngineBuilders
      @WPEngineBuilders  11 місяців тому +1

      Thanks for your thoughts here. I generally agree that you should use whatever you can ship the fastest with, and unless you're familiar with Nuxt or your team is bought into the JS-ecosystem, it can be additional overhead. FWIW, Rank Math works mostly fine on headless, and NASA's new science site runs this stack: science.nasa.gov/ Maybe not the best choice for everyone, but lots of folks are getting good mileage out these tools - JE

    • @AlexGamerHD
      @AlexGamerHD 11 місяців тому

      @@WPEngineBuilders I forgot to mention that my advice applies if SEO is your #1 priority. I was able to build the nuxt 3 blog much faster than I built the wordpress theme because I had no experience with wordpress. But if SEO is the most important thing for you, it's better to use wordpress. If you want a much modern website, nuxt 3 with headless wp is of course better. This stack was perfect for NASA because they most probably don't care about SEO and their domain authority is already so high that they don't need to optimise for SEO that much anyway.

  • @larsnobel4279
    @larsnobel4279 7 місяців тому

    Why do you never fix your error?

  • @виртуоз_ру
    @виртуоз_ру Рік тому

    👍