biothings / discovery-app

The Data Discovery Engine project by the CD2H Data working-group
http://discovery.biothings.io
Apache License 2.0
4 stars 9 forks source link

Migrate to Pinia from Vuex (breaking issue) #253

Open marcodarko opened 3 months ago

marcodarko commented 3 months ago

Is your feature request related to a problem? Please describe. Vuex is no longer supported by Nuxt/Vue3, they now support Pinia. Although there is community plugins to make it work it's not a guaranteed way forward.

As a result the application cannot be built or worked on until we fix this.

Screenshot 2024-03-26 at 1 07 30 PM

Describe the solution you'd like Fully migrate to Pinia https://pinia.vuejs.org/

Describe alternatives you've considered This is a community plugin to make it work but still requires some restructuring of the files: https://github.com/vedmant/nuxt3-vuex/tree/master

Additional context More on this issue: https://nuxt.com/docs/migration/configuration

marcodarko commented 1 month ago

Update: The version of Vuex that the DDE uses will continue to work so migration is NOT required anymore. However if we wanna use this library it will require a major refactor that involves changing the current solutions since a few of the Vuex features are not available on Pinia.