aboutsummaryrefslogtreecommitdiff
path: root/src/router/index.ts
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2021-11-05 09:27:35 -0500
committerFurkan Sahin <furkan-dev@proton.me>2021-11-05 09:27:35 -0500
commit85380b4b60bf74507a01957b29bd6e3808e216db (patch)
treea43784660fdc29e5b95df3e358cf722eec2b092b /src/router/index.ts
parentffef3a6be19d1139b6378c8119d444082dd0cbac (diff)
parent29fc563863f561cdc707485289c5580b4397a580 (diff)
Merge pull request #10 from cobraguy/rewrite
Update to Svelte app
Diffstat (limited to 'src/router/index.ts')
-rw-r--r--src/router/index.ts27
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;