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": "^2.6.14",
|
||||||
"vue-class-component": "^7.2.3",
|
"vue-class-component": "^7.2.3",
|
||||||
"vue-property-decorator": "^9.1.2",
|
"vue-property-decorator": "^9.1.2",
|
||||||
"vue-router": "^3.5.1",
|
|
||||||
"vuetify": "^2.6.0",
|
"vuetify": "^2.6.0",
|
||||||
"vuex": "^3.6.2"
|
"vuex": "^3.6.2"
|
||||||
},
|
},
|
||||||
@@ -12777,11 +12776,6 @@
|
|||||||
"vue-class-component": "*"
|
"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": {
|
"node_modules/vue-style-loader": {
|
||||||
"version": "4.1.3",
|
"version": "4.1.3",
|
||||||
"resolved": "https://registry.npmjs.org/vue-style-loader/-/vue-style-loader-4.1.3.tgz",
|
"resolved": "https://registry.npmjs.org/vue-style-loader/-/vue-style-loader-4.1.3.tgz",
|
||||||
|
|||||||
@@ -15,7 +15,6 @@
|
|||||||
"vue": "^2.6.14",
|
"vue": "^2.6.14",
|
||||||
"vue-class-component": "^7.2.3",
|
"vue-class-component": "^7.2.3",
|
||||||
"vue-property-decorator": "^9.1.2",
|
"vue-property-decorator": "^9.1.2",
|
||||||
"vue-router": "^3.5.1",
|
|
||||||
"vuetify": "^2.6.0",
|
"vuetify": "^2.6.0",
|
||||||
"vuex": "^3.6.2"
|
"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>
|
<strong>We're sorry but neko-rooms doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
|
||||||
</noscript>
|
</noscript>
|
||||||
<div id="app"></div>
|
<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>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
+11
-11
@@ -21,7 +21,7 @@
|
|||||||
class="fill-height"
|
class="fill-height"
|
||||||
fluid
|
fluid
|
||||||
>
|
>
|
||||||
<router-view />
|
<Home />
|
||||||
</v-container>
|
</v-container>
|
||||||
</v-main>
|
</v-main>
|
||||||
|
|
||||||
@@ -36,17 +36,17 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<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({
|
@Component({
|
||||||
name: 'App',
|
components: {
|
||||||
|
Home,
|
||||||
data: () => ({
|
|
||||||
//
|
|
||||||
}),
|
|
||||||
|
|
||||||
created () {
|
|
||||||
this.$vuetify.theme.dark = true
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
export default class App extends Vue {
|
||||||
|
created() {
|
||||||
|
this.$vuetify.theme.dark = true
|
||||||
|
}
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -2,7 +2,6 @@ import Vue from 'vue'
|
|||||||
import App from './App.vue'
|
import App from './App.vue'
|
||||||
import './plugins/filters.ts'
|
import './plugins/filters.ts'
|
||||||
import sweetalert from './plugins/sweetalert'
|
import sweetalert from './plugins/sweetalert'
|
||||||
import router from './router'
|
|
||||||
import store from './store'
|
import store from './store'
|
||||||
import vuetify from './plugins/vuetify'
|
import vuetify from './plugins/vuetify'
|
||||||
|
|
||||||
@@ -13,7 +12,6 @@ Vue.config.productionTip = false
|
|||||||
Vue.use(sweetalert)
|
Vue.use(sweetalert)
|
||||||
|
|
||||||
new Vue({
|
new Vue({
|
||||||
router,
|
|
||||||
store,
|
store,
|
||||||
vuetify,
|
vuetify,
|
||||||
render: h => h(App)
|
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