Nuxt Layers & dependencies
It is a bit confusing after reading the nuxt docs where to put layer dependencies.
Given a layer
Given a layer
myLayer (with pinia nuxt module) and a nuxt app with extends: ["./myLayer"], :- where to put pinia (or any other) node module, in
ormyLayer/package.json
?app/package.json - is it required to run
from insidenpm install
?myLayer - if both layer and the app have the same package dependencies where to define it?
npm run preview .