Skip to content

Commit

Permalink
Merge pull request #844 from bartbutenaers/source-map-dashboard-doc
Browse files Browse the repository at this point in the history
Generate source map for dashboard (doc fix)
  • Loading branch information
joepavitt authored May 10, 2024
2 parents 5d3875f + 16d9f96 commit 9a2f0ad
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions docs/contributing/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,12 @@ A [VitePress](https://vitepress.dev/) documentation site that is used to generat
npm install
```

5. **Build Dashboard:** Create a static build of the Dashboard's UI, based on Vue CLI (which has been installed in step 3):
5. Optionally ***generate a source map*** (to map the minified dashboard code to the original code), to simplify debugging of the frontend dashboard code in the browser. On Linux this can be achieved by:
```bash
export NODE_ENV=development
```

6. **Build Dashboard:** Create a static build of the Dashboard's UI, based on Vue CLI (which has been installed in step 3):
```bash
npm run build
```
Expand Down Expand Up @@ -106,4 +111,4 @@ A [VitePress](https://vitepress.dev/) documentation site that is used to generat
npm run docs:dev
```
This will then run your documentation at `http://localhost:5173/`
2. **Make Changes:** Make any appropriate edits to the documentation (`/docs`). The documentation will live update, no need to re-build, restart the server or refresh the browser.
2. **Make Changes:** Make any appropriate edits to the documentation (`/docs`). The documentation will live update, no need to re-build, restart the server or refresh the browser.

0 comments on commit 9a2f0ad

Please sign in to comment.