Skip to content

Commit 0d5e5bc

Browse files
committed
changed vue-router history
1 parent 52d2581 commit 0d5e5bc

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
theme: jekyll-theme-cayman

src/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { createApp } from 'vue'
2-
import { createRouter, createWebHistory } from 'vue-router';
2+
import { createRouter, createWebHashHistory } from 'vue-router';
33
import App from './App.vue'
44
import Home from './components/Home';
55
import Login from './components/Login';
@@ -13,7 +13,7 @@ const routes = [
1313
]
1414

1515
const router = createRouter({
16-
history: createWebHistory(),
16+
history: createWebHashHistory(),
1717
routes,
1818
});
1919

0 commit comments

Comments
 (0)