Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mskocik authored Feb 11, 2023
1 parent 6f74529 commit b2f8e5b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,13 @@ automatically injected into your templates.

## Dev mode toggle

Dev mode is enabled by clicking on the Vite icon in the tracy bar. By default it's disabled, using production build assets.
Dev mode is enabled/toggled by clicking on the Vite icon in the tracy bar. By default it's disabled, using production build assets.

In dev mode it signal if dev server is running or not (green or red dot).
| Icon | Status |
|-----|---------|
| <img src="https://raw.githubusercontent.com/mskocik/vinette/main/docs/icon-prod.png" alt="Production mode"> | Production mode. Assets are being served according to definition in `manifest.json. Icon is semitransparent |
| <img src="https://raw.githubusercontent.com/mskocik/vinette/main/docs/icon-running.png" alt="Enabled, running"> | Dev mode enabled, serving assets directly from vite devServer |
| <img src="https://raw.githubusercontent.com/mskocik/vinette/main/docs/icon-not-running.png" alt="Enabled, not running"> | Dev mode enabled, but vite devServer is not running |

---

Expand Down

0 comments on commit b2f8e5b

Please sign in to comment.