rename view name

master
veypi 3 years ago
parent c74c332e6a
commit d7aea82ced

2793
oaf/package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -0,0 +1,6 @@
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
}

@ -19,7 +19,7 @@ const router = createRouter({
meta: { meta: {
requiresAuth: true, requiresAuth: true,
}, },
component: () => import('../view/home.vue') component: () => import('../views/home.vue')
}, },
{ {
path: '/app', path: '/app',
@ -27,27 +27,27 @@ const router = createRouter({
meta: { meta: {
requiresAuth: true, requiresAuth: true,
}, },
component: () => import('../view/demo.vue') component: () => import('../views/demo.vue')
}, },
{ {
path: '/wx', path: '/wx',
name: 'wx', name: 'wx',
component: () => import('../view/wx.vue') component: () => import('../views/wx.vue')
}, },
{ {
path: '/login/:uuid?', path: '/login/:uuid?',
name: 'login', name: 'login',
component: () => import('../view/login.vue') component: () => import('../views/login.vue')
}, },
{ {
path: '/register/:uuid?', path: '/register/:uuid?',
name: 'register', name: 'register',
component: () => import('../view/register.vue') component: () => import('../views/register.vue')
}, },
{ {
path: '/:path(.*)', path: '/:path(.*)',
name: '404', name: '404',
component: () => import('../view/404.vue') component: () => import('../views/404.vue')
} }
//... //...
], ],

@ -0,0 +1,11 @@
module.exports = {
purge: ['./index.html', './src/**/*.{vue,js,ts,jsx,tsx}'],
darkMode: false, // or 'media' or 'class'
theme: {
extend: {},
},
variants: {
extend: {},
},
plugins: [],
}
Loading…
Cancel
Save