add spa redirection for github-pages

This commit is contained in:
2022-11-24 21:35:54 +01:00
parent 898d144a0b
commit 57b7b9e9fe

View File

@@ -4,7 +4,7 @@
"version": "0.0.0", "version": "0.0.0",
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",
"build": "vite build", "build": "vite build && cp dist/index.html dist/404.html",
"preview": "vite preview", "preview": "vite preview",
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore" "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore"
}, },