Skip to content
This repository was archived by the owner on Sep 24, 2020. It is now read-only.

Commit 04823c6

Browse files
html5 history mode
1 parent 15ffe44 commit 04823c6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

template/src/main.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import { NavbarComponent } from './components/navbar';
1212
Vue.use(VueRouter);
1313

1414
let router = new VueRouter({
15+
mode: 'history',
1516
routes: [
1617
{ path: '/', component: HomeComponent },
1718
{ path: '/about', component: AboutComponent },

0 commit comments

Comments
 (0)