Clone the repo and run npm install
.
Start the vite server:
$ npm run vite:dev
Visit: http://http://localhost:3000
- Task: Update the tailwind body class in
src/index.html
- Expected: Browser updates and background changes
- Actual: Browser updates and background changes
- First stop the vite server.
- Then uncomment
origin: 'http://localhost:3000/'
in the vite config. - Start the vite server:
npm run vite:dev
- Visit
http://localhost:3000
Then
- Task: Update the tailwind body class in
src/index.html
- Expected: Browser updates and background changes
- Actual: Browser reloads. Styles not updated
Then
- Task: Restart the vite server
- Expected: Styles updated
- Actual: Styles updated