Skip to content

Commit

Permalink
fix: example paths (#3244)
Browse files Browse the repository at this point in the history
  • Loading branch information
FRSgit authored Nov 15, 2024
1 parent 725d251 commit 3ec731d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .vuestorefrontcloud/docs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions apps/docs/components/.env.example
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
VITE_DOCS_EXAMPLES_VUE_PATH=http://localhost:3001
VITE_DOCS_EXAMPLES_REACT_PATH=http://localhost:3002
VITE_DOCS_BASEPATH=/v2
NUXT_DOCS_EXAMPLES_VUE_PATH=http://localhost:3001
NUXT_DOCS_EXAMPLES_REACT_PATH=http://localhost:3002
NUXT_DOCS_BASEPATH=/v2
4 changes: 2 additions & 2 deletions apps/docs/components/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.',
Expand Down

0 comments on commit 3ec731d

Please sign in to comment.