♻️ (notes) home is now the note initial screen with a fo…

This commit is contained in:
2021-03-13 22:38:21 +01:00
parent 8fad931dfd
commit 2286bd5d85
8 changed files with 133 additions and 85 deletions

View File

@@ -4,20 +4,15 @@ import Home from '@/views/Home.vue'
const routes: Array<RouteRecordRaw> = [
{
path: '/',
path: '/:user?/:repo?',
name: 'Home',
props: true,
component: Home
},
{
path: '/about',
name: 'About',
component: () => import(/* webpackChunkName: "about" */ '@/views/About.vue')
},
{
path: '/note/:user/:repo',
name: 'Note',
props: true,
component: () => import(/* webpackChunkName: "note" */ '@/views/Note.vue')
}
]