mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-11-04 22:13:13 +00:00
feat: history mode
Signed-off-by: Corentin Thomasset <corentin.thomasset74@gmail.com>
This commit is contained in:
@@ -158,6 +158,7 @@ const routes = [
|
|||||||
|
|
||||||
const router = new VueRouter({
|
const router = new VueRouter({
|
||||||
base: process.env.BASE_URL,
|
base: process.env.BASE_URL,
|
||||||
|
mode: 'history',
|
||||||
routes
|
routes
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
7
vercel.json
Normal file
7
vercel.json
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"version": 2,
|
||||||
|
"routes": [
|
||||||
|
{ "handle": "filesystem" },
|
||||||
|
{ "src": "/.*", "dest": "/index.html" }
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user