15 lines
259 B
JavaScript
15 lines
259 B
JavaScript
|
const router = new VueRouter({
|
||
|
routes: [
|
||
|
{ path: '/', component: ViewAccessPoints }
|
||
|
]
|
||
|
})
|
||
|
|
||
|
VueNativeSock.default.install(Vue, `//${location.host}${location.pathname}ws`, {
|
||
|
store: store,
|
||
|
format: 'json',
|
||
|
})
|
||
|
|
||
|
const app = new Vue({
|
||
|
router
|
||
|
}).$mount('#app')
|