Make new frontend deployable.

* Get rid of old client and its grunt build.
* Make `yarn run dist` bundle a working version with new frontend.
* Make sure to handle history mode URLs on server side.
This commit is contained in:
baldo 2022-10-04 15:33:55 +02:00
commit e48c2861c6
810 changed files with 109 additions and 348223 deletions

View file

@ -7,10 +7,13 @@
"name": "Andreas Baldeau",
"email": "andreas@baldeau.net"
},
"private": true,
"scripts": {
"check": "yarn run typecheck && yarn run lint",
"dev": "vite",
"dist": "yarn run clean && yarn run build && cp LICENSE package.json dist/",
"build": "vue-tsc --noEmit && vite build",
"clean": "rm -rf dist/",
"preview": "vite preview --port 5050",
"test": "yarn run test:unit",
"test:unit": "vitest --environment jsdom",