@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 CHANGED
@@ -25,7 +25,7 @@ export default defineNuxtConfig({
25
25
 
26
26
  3. Configure the module
27
27
 
28
- There are two ways you can configure the SDK module. The first is by using the `vsf` key in the Nuxt configuration object and providing necessary information such as the Middleware instance address:
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
@@ -4,5 +4,5 @@
4
4
  "compatibility": {
5
5
  "nuxt": "^3.0.0"
6
6
  },
7
- "version": "3.0.0-rc.1"
7
+ "version": "3.0.0-rc.2"
8
8
  }
@@ -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((nuxtApp) => {
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.1",
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
- "postinstall": "nuxi prepare"
28
+ "prepare": "nuxi prepare"
29
29
  },
30
30
  "peerDependencies": {
31
31
  "@vue-storefront/sdk": "^1.0.0"