mirror of
https://github.com/tenrok/vue-meta.git
synced 2026-06-20 18:50:34 +03:00
test: add e2e tests
fix: boolean attributes client side
This commit is contained in:
committed by
Alexander Lichter
parent
a853ce3de7
commit
05b8891110
Vendored
+18
@@ -0,0 +1,18 @@
|
||||
import Vue from 'vue'
|
||||
import Router from 'vue-router'
|
||||
|
||||
Vue.use(Router)
|
||||
|
||||
const Home = () => import('./views/home.vue')
|
||||
const Post = () => import('./views/about.vue')
|
||||
|
||||
export default function createRouter() {
|
||||
return new Router({
|
||||
mode: 'hash',
|
||||
base: '/',
|
||||
routes: [
|
||||
{ path: '/', component: Home },
|
||||
{ path: '/about', component: Post }
|
||||
]
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user