We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5549ed8 + d330c62 commit 9e22618Copy full SHA for 9e22618
UPGRADE.md
@@ -328,6 +328,16 @@ You may start the SSR server using `node`:
328
node storage/ssr/ssr.js
329
```
330
331
+### Optional: Expose Vite port when using Laravel Sail
332
+
333
+If you would like to run the `npm run dev` command in a Laravel Sail container, you will need to publish a port in your `docker-compose.yml` file:
334
335
+```diff
336
+ports:
337
+ - '${APP_PORT:-80}:80'
338
++ - '${VITE_PORT:-5173}:${VITE_PORT:-5173}'
339
+```
340
341
### Wrapping up
342
343
You should now be able to build your assets using `dev` command. This will also invoke the Vite server and Vite will watch for file changes:
0 commit comments