From 7da975473f49dbe45cb7a04eb982f04c604774f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= Date: Thu, 5 Oct 2023 20:59:25 +0200 Subject: [PATCH] remove router from client. --- client/package-lock.json | 6 ------ client/package.json | 1 - client/public/index.html | 4 +++- client/src/App.vue | 22 +++++++++++----------- client/src/main.ts | 2 -- client/src/router/index.ts | 21 --------------------- 6 files changed, 14 insertions(+), 42 deletions(-) delete mode 100644 client/src/router/index.ts diff --git a/client/package-lock.json b/client/package-lock.json index b15c1b4..42985ef 100644 --- a/client/package-lock.json +++ b/client/package-lock.json @@ -15,7 +15,6 @@ "vue": "^2.6.14", "vue-class-component": "^7.2.3", "vue-property-decorator": "^9.1.2", - "vue-router": "^3.5.1", "vuetify": "^2.6.0", "vuex": "^3.6.2" }, @@ -12777,11 +12776,6 @@ "vue-class-component": "*" } }, - "node_modules/vue-router": { - "version": "3.6.5", - "resolved": "https://registry.npmjs.org/vue-router/-/vue-router-3.6.5.tgz", - "integrity": "sha512-VYXZQLtjuvKxxcshuRAwjHnciqZVoXAjTjcqBTz4rKc8qih9g9pI3hbDjmqXaHdgL3v8pV6P8Z335XvHzESxLQ==" - }, "node_modules/vue-style-loader": { "version": "4.1.3", "resolved": "https://registry.npmjs.org/vue-style-loader/-/vue-style-loader-4.1.3.tgz", diff --git a/client/package.json b/client/package.json index 73cfd8d..7e05f4b 100644 --- a/client/package.json +++ b/client/package.json @@ -15,7 +15,6 @@ "vue": "^2.6.14", "vue-class-component": "^7.2.3", "vue-property-decorator": "^9.1.2", - "vue-router": "^3.5.1", "vuetify": "^2.6.0", "vuex": "^3.6.2" }, diff --git a/client/public/index.html b/client/public/index.html index 5a02ee2..5af391c 100644 --- a/client/public/index.html +++ b/client/public/index.html @@ -16,6 +16,8 @@ We're sorry but neko-rooms doesn't work properly without JavaScript enabled. Please enable it to continue.
- +

+ Selfhosted collaborative browser (m1k1o/neko-rooms) - room management for n.eko +

diff --git a/client/src/App.vue b/client/src/App.vue index 8018752..e0a7ce0 100644 --- a/client/src/App.vue +++ b/client/src/App.vue @@ -21,7 +21,7 @@ class="fill-height" fluid > - + @@ -36,17 +36,17 @@ diff --git a/client/src/main.ts b/client/src/main.ts index acfdb0a..9cd8ab4 100644 --- a/client/src/main.ts +++ b/client/src/main.ts @@ -2,7 +2,6 @@ import Vue from 'vue' import App from './App.vue' import './plugins/filters.ts' import sweetalert from './plugins/sweetalert' -import router from './router' import store from './store' import vuetify from './plugins/vuetify' @@ -13,7 +12,6 @@ Vue.config.productionTip = false Vue.use(sweetalert) new Vue({ - router, store, vuetify, render: h => h(App) diff --git a/client/src/router/index.ts b/client/src/router/index.ts deleted file mode 100644 index 6a471a1..0000000 --- a/client/src/router/index.ts +++ /dev/null @@ -1,21 +0,0 @@ -import Vue from 'vue' -import VueRouter, { RouteConfig } from 'vue-router' -import Home from '../views/Home.vue' - -Vue.use(VueRouter) - -const routes: Array = [ - { - path: '/', - name: 'Home', - component: Home - }, -] - -const router = new VueRouter({ - mode: 'history', - base: process.env.BASE_URL, - routes -}) - -export default router