diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2021-04-13 00:52:32 -0500 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2021-04-13 00:52:32 -0500 |
| commit | f3619b20e1c5baa342eb7466c67c44d3192bb3eb (patch) | |
| tree | 64a6981599ddcb9fa8ede5364770e1f145c1086f /src/router/index.js | |
| parent | 67b7f56f9aeaf5d32cc07d0d776d2e4e95dea21c (diff) | |
Initial TypeScript refactoring
Diffstat (limited to 'src/router/index.js')
| -rw-r--r-- | src/router/index.js | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/router/index.js b/src/router/index.js deleted file mode 100644 index 7a598b3..0000000 --- a/src/router/index.js +++ /dev/null @@ -1,27 +0,0 @@ -import { createRouter, createWebHashHistory } from 'vue-router'; -import Editor from '../views/Editor.vue'; -import About from '../views/About.vue'; - -const routes = [ - { - path: '/', - name: 'About', - component: About, - }, - { - 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; |
