How to install Nuxt SEO?
Following Nuxt SEO doc at https://nuxtseo.com/nuxt-seo/getting-started/installation, sees like I also need to configure
site
? https://nuxtseo.com/nuxt-seo/guides/configuring-modules
TS gives error about site
. Most likely coz I'm missing Nuxt Site Config? https://nuxtseo.com/site-config/getting-started/installation
In there it's slightly confusing:
While you can install it in your own project, it's recommended to use it in a module.And then it shows you how to install it in my own project. Should I install that in some other way? What's that
modules.ts
file, where should I make that? Do I need that site-config
at first place?4 Replies
IIRC site-config should be a dependency of the modules
make sure you run your app or do
nuxi prepare
otherwise the types won't work
site
should be good to configure from there
as alex mention nuxt-site-config
shouldn't be manually added, it's for module authorsAah. I didn't know about
nuxi prepare
.. Most likely missed that
Thnx for clearing up about nuxt-site-config
too! 🙂no problem, i have it on my todo list to improve the onboarding doc