Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wjchumble/mini-hmr
Vite is very popular now, so I created this repo, which shows how hmr works in vite.
https://github.com/wjchumble/mini-hmr
hmr vite
Last synced: 4 months ago
JSON representation
Vite is very popular now, so I created this repo, which shows how hmr works in vite.
- Host: GitHub
- URL: https://github.com/wjchumble/mini-hmr
- Owner: WJCHumble
- Created: 2021-10-03T00:36:54.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-05-31T14:16:26.000Z (over 2 years ago)
- Last Synced: 2024-10-09T08:08:17.422Z (4 months ago)
- Topics: hmr, vite
- Language: JavaScript
- Homepage:
- Size: 39.1 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Mini-hmr
Vite is very popular now, so I created this repo, which shows how hmr works in vite.
## Feature
- Simple Dev Server
- Live reload
- CSS file's hmr## Usage
1. run `npm i`
2. run `npm run dev`
And then dev server will watch the file change in `public` directory.