@pinia/nuxt latest version gives error
See original GitHub issueReproduction
https://github.com/Rigo-m/pinia-issue-repro
Steps to reproduce the behavior
yarn
yarn dev
Expected behavior
Should work
Actual behavior
Throws error because vue composition api is being imported twice
Additional information
Latest node LTS
Issue Analytics
- State:
- Created 2 years ago
- Comments:24 (5 by maintainers)
Top Results From Across the Web
pinia/nuxt latest version gives error · Issue #767 - GitHub
This issue is with Nuxt 2 only. It's due to changes with composition-api, vue-demi, and the nuxt module. Note I have multiple examples...
Read more >Cannot load Pinia in Nuxt3 - Stack Overflow
Started with an active nuxt3 project; ran npm install @pinia/nuxt; this failed, with a dependency error, so re-ran with npm install @pinia/ ...
Read more >Nuxt.js - Pinia
Using Pinia with Nuxt.js is easier since Nuxt takes care of a lot of things when it comes to server side rendering. For...
Read more >@pinia/nuxt - npm
Nuxt Module for pinia. Latest version: 0.4.6, last published: a month ago. Start using @pinia/nuxt in your project by running `npm i ...
Read more >Nuxt 3 Server Routes CRUD w/ MongoDB - YouTube
Source Code: https://github.com/BayBreezy/ nuxt -3-server-apiIn this ... w/ MongoDB | TailwindCSS | HeadlessUI | Pinia | Vue 3 Easy Datatable.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Nice one, thats all working now. Thanks for the fix!
This should be good now! Let me know if you find issues by opening a new issue with a boiled down repro.
Refer to https://github.com/piniajs for examples with the proper configurations