@vue-storefront/nuxt 3.0.0-rc.1 → 3.0.0-rc.2
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.
- package/README.md +1 -1
- package/dist/module.json +1 -1
- package/dist/runtime/plugin.template +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -25,7 +25,7 @@ export default defineNuxtConfig({
|
|
|
25
25
|
|
|
26
26
|
3. Configure the module
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
To configure the module, use `vsf` key in the Nuxt configuration object and provide necessary information such as the Middleware instance address:
|
|
29
29
|
|
|
30
30
|
```ts
|
|
31
31
|
export default defineNuxtConfig({
|
package/dist/module.json
CHANGED
|
@@ -2,7 +2,7 @@ import { initSDK } from "@vue-storefront/sdk"
|
|
|
2
2
|
import sdkConfig from "~/sdk.config"
|
|
3
3
|
import { defineNuxtPlugin } from '#app'
|
|
4
4
|
|
|
5
|
-
export default defineNuxtPlugin((
|
|
5
|
+
export default defineNuxtPlugin(() => {
|
|
6
6
|
const config = sdkConfig();
|
|
7
7
|
const sdk = initSDK<typeof config>(config);
|
|
8
8
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue-storefront/nuxt",
|
|
3
|
-
"version": "3.0.0-rc.
|
|
3
|
+
"version": "3.0.0-rc.2",
|
|
4
4
|
"description": "Vue Storefront dedicated features for Nuxt",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"test": "start-server-and-test dev:middleware localhost:4000/test_integration/success dev localhost:3000/ssr \"yarn test:e2e\"",
|
|
26
26
|
"test:e2e": "cd ../../shared/ && yarn test:e2e",
|
|
27
27
|
"test:watch": "vitest watch",
|
|
28
|
-
"
|
|
28
|
+
"prepare": "nuxi prepare"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"@vue-storefront/sdk": "^1.0.0"
|