setup vite and integrate fully with django

- vite starts with `python manage.py runserver`
- add templatetags to simply load vite hmr and entry points
- add eslint (recheck rules)
- enable non-strict ts
This commit is contained in:
rash
2026-02-03 09:31:22 +01:00
parent 0e5e2193ed
commit 94dd5b0350
12 changed files with 4485 additions and 3 deletions

19
tsconfig.json Normal file
View File

@@ -0,0 +1,19 @@
{
"include": ["src/pretix/static/**/*", "src/pretix/static/**/*.vue"],
"compilerOptions": {
"baseUrl": ".",
"paths": {
},
"strict": false,
"allowJs": true,
"checkJs": true,
"target": "esnext",
"module": "esnext",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"noErrorTruncation": true,
"noImplicitThis": true,
"isolatedModules": true,
"types": ["node", "events"]
}
}