mirror of
https://github.com/aljazceru/meshcore-web.git
synced 2025-12-18 08:34:21 +01:00
start implementing client based on meshtxt
This commit is contained in:
27
src/main.js
Normal file
27
src/main.js
Normal file
@@ -0,0 +1,27 @@
|
||||
import { createApp } from 'vue';
|
||||
import { createRouter, createMemoryHistory } from 'vue-router';
|
||||
import vClickOutside from "click-outside-vue3";
|
||||
import "./style.css";
|
||||
|
||||
import App from './components/App.vue';
|
||||
|
||||
const router = createRouter({
|
||||
history: createMemoryHistory(),
|
||||
routes: [
|
||||
{
|
||||
name: "main",
|
||||
path: '/',
|
||||
component: () => import("./components/pages/MainPage.vue"),
|
||||
},
|
||||
{
|
||||
name: "connect",
|
||||
path: '/connect',
|
||||
component: () => import("./components/pages/ConnectPage.vue"),
|
||||
},
|
||||
],
|
||||
});
|
||||
|
||||
createApp(App)
|
||||
.use(router)
|
||||
.use(vClickOutside)
|
||||
.mount('#app');
|
||||
Reference in New Issue
Block a user