diff options
Diffstat (limited to 'src/router/index.ts')
| -rw-r--r-- | src/router/index.ts | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/router/index.ts b/src/router/index.ts deleted file mode 100644 index a36cb7e..0000000 --- a/src/router/index.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { createRouter, createWebHashHistory } from 'vue-router'; -import Editor from '../views/Editor.vue'; -import Start from '../views/Start.vue'; - -const routes = [ - { - path: '/', - name: 'Start', - component: Start, - }, - { - path: '/editor', - name: 'Editor', - // route level code-splitting - // this generates a separate chunk (about.[hash].js) for this route - // which is lazy-loaded when the route is visited. - // component: () => import(/* webpackChunkName: "about" */ '../views/Editor.vue'), - component: Editor, - }, -]; - -const router = createRouter({ - history: createWebHashHistory(), - routes, -}); - -export default router; |
