From 2ee4175437bbfcddf98e5eacba9b019113716ac8 Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Wed, 1 May 2024 19:34:25 +0200 Subject: Remove electron entirely (#2859) Co-authored-by: rejbasket --- electron/src/renderer/router/index.js | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 electron/src/renderer/router/index.js (limited to 'electron/src/renderer/router/index.js') diff --git a/electron/src/renderer/router/index.js b/electron/src/renderer/router/index.js deleted file mode 100644 index a38404da..00000000 --- a/electron/src/renderer/router/index.js +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Authors: see git history - * - * Copyright (c) 2010 Authors - * Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. - * - */ -import { createWebHashHistory, createRouter } from 'vue-router' -const routes = [ - { - path: '/simulator', - name: 'simulator', - component: () => import('../components/Simulator.vue') - }, - { - path: '/:pathMatch(.*)*', - name: 'NotFound', - component: () => import('../components/NotFound.vue') - }, -] -const router = createRouter({ - history: createWebHashHistory(), - routes -}) -// Sets title for each routes -const DEFAULT_TITLE = 'Ink/Stitch'; - -router.beforeEach((to) => { - document.title = to.meta.title || DEFAULT_TITLE -}) -export default router -- cgit v1.2.3