Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

frontends: add vite preview npm task #2996

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

thisconnect
Copy link
Collaborator

This is useful to test the production build of the web frontend locally in the browser.

First do a production build, either by:

  • make buildweb
  • cd frontends/web && npm ci && npm run build

Then run the frontend build with:

  • cd frontends/web && npm run preview

This is useful to test the production build of the web frontend
locally in the browser.

First do a production build, either by:
- `make buildweb`
- `cd frontends/web && npm ci && npm run build`

Then run the frontend build with:
- `cd frontends/web && npm run preview`

Previw is a built in task of vitejs see:
- https://v3.vitejs.dev/config/preview-options.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant