This repository has been archived by the owner on Feb 22, 2023. It is now read-only.
Set up Pinia #831
Labels
💻 aspect: code
Concerns the software code in the repository
✨ goal: improvement
Improvement to an existing user-facing feature
🟩 priority: low
Low priority and doesn't need to be rushed
Milestone
Problem
Pinia setup needs several changes in the
nuxt.config.js
and the project folder structure.Description
Here is a list of what needs to be done to install Pinia and make sure it can run correctly:
pnpm install pinia @pinia/nuxt @pinia/testing
@pinia/nuxt
to thebuildModules
innuxt.config.js
build.extend
to ensure mjs files are treated correctly (and prevent errors like: Can't import the named export 'watch' from non EcmaScript module (only default export is available)):Implementation
The text was updated successfully, but these errors were encountered: