You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi ,
I'm creating a simple Docker guide to run the Shopify Vite setup within a Docker container. I'm using the default project provided in the following repository:
shopify-vite/examples/vite-shopify-example
The issue I'm encountering is that the vite-tag snippet includes the following address in the vite-tag.liquid file by default:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi ,
I'm creating a simple Docker guide to run the Shopify Vite setup within a Docker container. I'm using the default project provided in the following repository:
shopify-vite/examples/vite-shopify-example
The issue I'm encountering is that the vite-tag snippet includes the following address in the vite-tag.liquid file by default:
viteDevServerUrl: 'https://[::]:3000'
Below is the trace from running: npm run dev
I tried various Vite server configurations without success (e.g., host: localhost, host: 127.0.0.1, host: 0.0.0.0).
I resolved the issue by editing vite.liquid and replacing https://[::]:3000 with https://localhost:3000 .
More detail about docker configuration
.
https://github.com/glyfo/shopify-dev/blob/main/README.md
Regards,
Alex
Beta Was this translation helpful? Give feedback.
All reactions