Using vue 3.4 with vite, vue router and pinia: I’m getting a SyntaxError: The requested module doesn’t provide an export named: ‘usePiniaStore’
I can export and use everything when I use the following syntax: export const usePiniaStore = defineStore(‘testStore’, () => {
// several functions and an array of objects