@frontic/nuxt 0.1.9 → 0.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/module.mjs +4 -2
  2. package/package.json +1 -1
package/dist/module.mjs CHANGED
@@ -102,10 +102,12 @@ frontic: { composables: false }
102
102
  });
103
103
  if (anyComposableEnabled) {
104
104
  if (!hasNuxtModule("@pinia/nuxt", nuxt)) {
105
- await installModule("@pinia/nuxt", {}, nuxt);
105
+ const piniaModule = await import('@pinia/nuxt').then((m) => m.default);
106
+ await installModule(piniaModule, {}, nuxt);
106
107
  }
107
108
  if (!hasNuxtModule("@pinia/colada-nuxt", nuxt)) {
108
- await installModule("@pinia/colada-nuxt", {}, nuxt);
109
+ const coladaModule = await import('@pinia/colada-nuxt').then((m) => m.default);
110
+ await installModule(coladaModule, {}, nuxt);
109
111
  }
110
112
  }
111
113
  if (anyComposableEnabled) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frontic/nuxt",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "description": "Nuxt module for Frontstack headless commerce - zero config data fetching composables with smart caching, page routing, and context management",
5
5
  "license": "MIT",
6
6
  "author": "Frontic",