We have an issue with the Pinia store when it is used in the Nuxt layers.
The error is:
[nuxt] error caught during app initialization Error: [๐]: "getActivePinia()" was called but there was no active Pinia.
[nuxt] error caught during app initialization Error: [๐]: "getActivePinia()" was called but there was no active Pinia.
The layer is part of the monorepo, and when used within the monorepo, it works. It also works when it is used in the other project, by extending it via Github like:
What problem is this solving Allow the possibility to use pinia with nuxt layers. Proposed solution It would be awesome to have Nuxt layer support similar to nuxt/i18n, where the default stores are...