N
Nuxt2mo ago
McSneaky

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
manniL
manniL2mo ago
IIRC site-config should be a dependency of the modules
harlan
harlan2mo ago
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 authors
McSneaky
McSneakyOP2mo ago
Aah. I didn't know about nuxi prepare.. Most likely missed that Thnx for clearing up about nuxt-site-config too! 🙂
harlan
harlan2mo ago
no problem, i have it on my todo list to improve the onboarding doc
Want results from more Discord servers?
Add your server