diff --git a/VITE_NOTES.md b/VITE_NOTES.md new file mode 100644 index 0000000000..b1fe6f42e9 --- /dev/null +++ b/VITE_NOTES.md @@ -0,0 +1,27 @@ +# Vite + +Vite is a new type of compiler that compiles each file as they come in. + +## Running Vite + +- Checkout this branch +- `yarn` +- Run `script/develop` until it finishes first webpack build. Then turn it off. We use this right now to prepare the static files + auth/onboarding pages. +- Update `hass_frontend/index.html`, find where we import the scripts and replace with: + ```html +