move to vue-blogify
This commit is contained in:
1 parent
4fe597979c
commit
bb1e397daa
90 files changed
+10347
-2666
No files matched your search
@@ -0,0 +1,17 @@
|
||||
import Vue from 'vue';
|
||||
import Router from 'vue-router';
|
||||
import Search from './views/Search.vue';
|
||||
import Single from "./views/Single.vue";
|
||||
import About from "./views/About.vue";
|
||||
|
||||
Vue.use(Router);
|
||||
|
||||
export default new Router({
|
||||
mode: "history",
|
||||
routes: [
|
||||
{ path: '/', component: Search },
|
||||
{ path: '/tag/:tag', component: Search },
|
||||
{ path: "/p/:y/:mo/:name", component: Single },
|
||||
{ path: "/about", component: About }
|
||||
]
|
||||
});
|
||||
Reference in new issue
Block a user