A. Get Started
B. Develop / Work with the Code
C. Explanation
Structure backend //django project folder backend/spa //Django app which delivers the svelte code todo //django code wich provides the api frontend //svelte Code
The Svelte Part (inside frontend), provides its static Files into /backend/spa/templates by calling npx vite build. (see vite.config.js) The Django spa app part is configured to use the index.html as its startingpoint (spa/views.py), and django has an extra template folder in spa/templates/assets und uses assets as its static url (setting.py)