mirror of
https://github.com/m1k1o/neko-rooms.git
synced 2026-11-02 22:51:34 -06:00
remove router from client.
This commit is contained in:
Generated
-6
@@ -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",
|
||||
|
||||
@@ -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"
|
||||
},
|
||||
|
||||
@@ -16,6 +16,8 @@
|
||||
<strong>We're sorry but neko-rooms doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
|
||||
</noscript>
|
||||
<div id="app"></div>
|
||||
<!-- built files will be auto injected -->
|
||||
<p>
|
||||
Selfhosted collaborative browser (<a href="https://github.com/m1k1o/neko-rooms">m1k1o/neko-rooms</a>) - room management for <a href="https://github.com/m1k1o/neko">n.eko</a>
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+11
-11
@@ -21,7 +21,7 @@
|
||||
class="fill-height"
|
||||
fluid
|
||||
>
|
||||
<router-view />
|
||||
<Home />
|
||||
</v-container>
|
||||
</v-main>
|
||||
|
||||
@@ -36,17 +36,17 @@
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import Vue from 'vue'
|
||||
import { Vue, Component, Prop } from 'vue-property-decorator'
|
||||
import Home from './views/Home.vue'
|
||||
|
||||
export default Vue.extend({
|
||||
name: 'App',
|
||||
|
||||
data: () => ({
|
||||
//
|
||||
}),
|
||||
|
||||
created () {
|
||||
this.$vuetify.theme.dark = true
|
||||
@Component({
|
||||
components: {
|
||||
Home,
|
||||
}
|
||||
})
|
||||
export default class App extends Vue {
|
||||
created() {
|
||||
this.$vuetify.theme.dark = true
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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<RouteConfig> = [
|
||||
{
|
||||
path: '/',
|
||||
name: 'Home',
|
||||
component: Home
|
||||
},
|
||||
]
|
||||
|
||||
const router = new VueRouter({
|
||||
mode: 'history',
|
||||
base: process.env.BASE_URL,
|
||||
routes
|
||||
})
|
||||
|
||||
export default router
|
||||
Reference in New Issue
Block a user