@nine-theme/vuepress-theme-nine
Version:
nine theme for vuepress
100 lines (98 loc) • 2.49 kB
JavaScript
/**
* Generated by "@vuepress/internal-routes"
*/
import { injectComponentOption, ensureAsyncComponentsLoaded } from '@app/util'
import rootMixins from '@internal/root-mixins'
import GlobalLayout from "/Users/nine/docs/vuepress-theme-nine/node_modules/@vuepress/core/lib/client/components/GlobalLayout.vue"
injectComponentOption(GlobalLayout, 'mixins', rootMixins)
export const routes = [
{
name: "v-7824e78f",
path: "/",
component: GlobalLayout,
beforeEnter: (to, from, next) => {
ensureAsyncComponentsLoaded("Layout", "v-7824e78f").then(next)
},
},
{
path: "/index.html",
redirect: "/"
},
{
name: "v-6b45a90c",
path: "/_posts/test.html",
component: GlobalLayout,
beforeEnter: (to, from, next) => {
ensureAsyncComponentsLoaded("Layout", "v-6b45a90c").then(next)
},
},
{
name: "v-b1564aac",
path: "/tag/",
component: GlobalLayout,
beforeEnter: (to, from, next) => {
ensureAsyncComponentsLoaded("Tags", "v-b1564aac").then(next)
},
meta: {"pid":"tags","id":"tags"}
},
{
path: "/tag/index.html",
redirect: "/tag/"
},
{
name: "v-ef9325c4",
path: "/categories/",
component: GlobalLayout,
beforeEnter: (to, from, next) => {
ensureAsyncComponentsLoaded("FrontmatterKey", "v-ef9325c4").then(next)
},
meta: {"pid":"categories","id":"categories"}
},
{
path: "/categories/index.html",
redirect: "/categories/"
},
{
name: "v-6319eb4e",
path: "/timeline/",
component: GlobalLayout,
beforeEnter: (to, from, next) => {
ensureAsyncComponentsLoaded("TimeLines", "v-6319eb4e").then(next)
},
meta: {"pid":"timeline","id":"timeline"}
},
{
path: "/timeline/index.html",
redirect: "/timeline/"
},
{
name: "v-1790659a",
path: "/tag/Nine/",
component: GlobalLayout,
beforeEnter: (to, from, next) => {
ensureAsyncComponentsLoaded("Tag", "v-1790659a").then(next)
},
meta: {"pid":"tags","id":"Nine"}
},
{
path: "/tag/Nine/index.html",
redirect: "/tag/Nine/"
},
{
name: "v-56ce1048",
path: "/categories/主题/",
component: GlobalLayout,
beforeEnter: (to, from, next) => {
ensureAsyncComponentsLoaded("Category", "v-56ce1048").then(next)
},
meta: {"pid":"categories","id":"主题"}
},
{
path: "/categories/主题/index.html",
redirect: "/categories/主题/"
},
{
path: '*',
component: GlobalLayout
}
]