0👍
If you want to use Nuxt to it’s full potential and keep WordPress, you need to use WordPress as a headless CMS. Meaning that you may use Full static and generate all of your pages during build time by reaching to your WordPress app.
I guess that your current WordPress + Vue flow is lacking SEO hence why you’re trying to reach upon Nuxt. But to my knowledge, you will not be able to just plug it like that with your wp_register_script
.
Or maybe try to mount it for every one of your routes .../about
, .../our-team
etc… Not a wordpress expert tho.
- [Vuejs]-Cannot GET /register shows when trying to make Post request for Vue Express app
- [Vuejs]-Databind for grid is not rebinding when order of data changes
Source:stackexchange.com