Django Svelte Vite Example
Example: Django + Svelte + Vite
Run:
- Django:
./manage.py runserver in project folder
- Vite:
npm run dev in ./frontend/templates/frontend
Features:
- Ultra fast bundling with Vite
- HMR
- Example integration of bootstrap and font-awesome
- Microfrontend Components (Run
npm run build:ext in ./frontend/templates/frontend)
- Frontend tests with vitest (Run
npm run test or npm run test:watch in ./frontend/templates/frontend)
Pages: