-
Notifications
You must be signed in to change notification settings - Fork 2
Frontend Setting
Yinan Zhou edited this page Aug 20, 2025
·
2 revisions
All frontend-related files (except Django templates in web-app/django/VIM/templates/) are located in web-app/frontend/. These files can be divided into two groups:
-
Static Files: CSS and images are in
web-app/frontend/assets/. -
Dynamic Files: TypeScript files are in
web-app/frontend/src/.
Static files are served through Nginx, aliased as virtual-instrument-museum/static/assets/, and can be hot-reloaded in development mode.
- TypeScript files are built using
Viteand served vialocalhost:5173in the background. These files are integrated with Django usingdjango-vite.django-vitesupports hot reload indevelopmentmode, and maps built files tovirtual-instrument-museum/static/inproductionmode. - SCSS files are compiled using
SASSto static CSS files inweb-app/frontend/assets/css/, and served by nginx. SCSS files are watched bySASSindevelopmentmode, and built inproductionmode.