I wrote this article some time ago and the structure of nuxt.config.ts file changed a bit. Basically if you have a nuxt 3 rc.3 project the only thing you have to change is from buildModules to modules and do not use object syntax to define a local module but just use a path i.e.
modules:['@pinia/nuxt','~/modules/blog/module']
Thans for noticing that. I will update the article to be up to date :)
Hey,
I wrote this article some time ago and the structure of nuxt.config.ts file changed a bit. Basically if you have a nuxt 3 rc.3 project the only thing you have to change is from buildModules to modules and do not use object syntax to define a local module but just use a path i.e.
Thans for noticing that. I will update the article to be up to date :)
Thanks, I managed to work it out by looking at the git repository you linked to in your article.
One other thing worth mentioning is I had to do was yarn add @nuxt/kit