Pinia module

i'm new to pinia and idk if the @pinia/nuxt modules should be added as a devDep or as a dep the doc not clear about that
6 Replies
Orbviox
Orbviox2y ago
Either works - just your preference. Most tend to add it as devDependency, but if you prefer and have some safety, its fine as normal dependency as well
DevHunteer
DevHunteerOP2y ago
Thank you so much
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Orbviox
Orbviox2y ago
It makes no difference - I would say it's like a placebo / safeguard to the developer as deps get installed while devDeps don't depending on certain contexts. Many times though both get installed anyway by default with "npm/yarn/pnpm install", while you may not need either and just the .nuxt/output
Orbviox
Orbviox2y ago
Stack Overflow
Vuejs & npm - Should all dependencies be devDependencies?
I am building a plugin component for Vue.js. Using a standard webpack configuration with vue-loader etc. In a simple library I put modules that I expect to 'require' inside my dependencies in pac...
DevHunteer
DevHunteerOP2y ago
Nice thread thank you
Want results from more Discord servers?
Add your server