A template for using Svelte, TypeScript and Django together
- URL resolution from TS, using a modified version of django-js-reverse
import {Urls} from "./reverse";
let url: string = Urls["namespace:name"]("String", 8);
- Svelte init from ts via js glue code (see main.ts and glue/SvelteImports.d.ts)
- Auto Reload, you have to run
npm run dev
when you made changes