diff --git a/.vuestorefrontcloud/docs/Dockerfile b/.vuestorefrontcloud/docs/Dockerfile index d08e67513c..770475398a 100644 --- a/.vuestorefrontcloud/docs/Dockerfile +++ b/.vuestorefrontcloud/docs/Dockerfile @@ -9,10 +9,10 @@ ARG VITE_DOCS_EXAMPLES_REACT_PATH ARG VITE_DOCS_EXAMPLES_VUE_PATH ARG ENVIRONMENT -ENV VITE_DOCS_BASEPATH=$VITE_DOCS_BASEPATH +ENV NUXT_DOCS_BASEPATH=$VITE_DOCS_BASEPATH ENV NUXT_APP_BASE_URL=$VITE_DOCS_BASEPATH -ENV VITE_DOCS_EXAMPLES_REACT_PATH=$VITE_DOCS_EXAMPLES_REACT_PATH -ENV VITE_DOCS_EXAMPLES_VUE_PATH=$VITE_DOCS_EXAMPLES_VUE_PATH +ENV NUXT_DOCS_EXAMPLES_REACT_PATH=$VITE_DOCS_EXAMPLES_REACT_PATH +ENV NUXT_DOCS_EXAMPLES_VUE_PATH=$VITE_DOCS_EXAMPLES_VUE_PATH ENV ENVIRONMENT=$ENVIRONMENT RUN yarn diff --git a/apps/docs/components/.env.example b/apps/docs/components/.env.example index e1271f77f1..60680934cc 100644 --- a/apps/docs/components/.env.example +++ b/apps/docs/components/.env.example @@ -1,3 +1,3 @@ -VITE_DOCS_EXAMPLES_VUE_PATH=http://localhost:3001 -VITE_DOCS_EXAMPLES_REACT_PATH=http://localhost:3002 -VITE_DOCS_BASEPATH=/v2 \ No newline at end of file +NUXT_DOCS_EXAMPLES_VUE_PATH=http://localhost:3001 +NUXT_DOCS_EXAMPLES_REACT_PATH=http://localhost:3002 +NUXT_DOCS_BASEPATH=/v2 \ No newline at end of file diff --git a/apps/docs/components/nuxt.config.ts b/apps/docs/components/nuxt.config.ts index 9131e66ece..832b41d4c9 100644 --- a/apps/docs/components/nuxt.config.ts +++ b/apps/docs/components/nuxt.config.ts @@ -26,8 +26,8 @@ export default defineNuxtConfig({ runtimeConfig: { public: { storefrontUi: true, - DOCS_EXAMPLES_VUE_PATH: process.env.VITE_DOCS_EXAMPLES_VUE_PATH, - DOCS_EXAMPLES_REACT_PATH: process.env.VITE_DOCS_EXAMPLES_REACT_PATH, + DOCS_EXAMPLES_VUE_PATH: process.env.NUXT_DOCS_EXAMPLES_VUE_PATH, + DOCS_EXAMPLES_REACT_PATH: process.env.NUXT_DOCS_EXAMPLES_REACT_PATH, siteUrl: process.env.NUXT_PUBLIC_SITE_URL || 'https://docs.storefrontui.io', siteName: 'Storefront UI', siteDescription: 'Fast, accessible, and fully customizable components built for e-commerce.',