mirror of
https://github.com/liamcottle/reticulum-meshchat.git
synced 2026-12-04 13:50:00 -05:00
use router for interfaces page
This commit is contained in:
parent
b57b76f035
commit
89dab4e68b
3 changed files with 19 additions and 16 deletions
|
|
@ -5,6 +5,7 @@ import App from './components/App.vue';
|
|||
import AboutPage from "./components/about/AboutPage.vue";
|
||||
import SettingsPage from "./components/settings/SettingsPage.vue";
|
||||
import NetworkVisualiserPage from "./components/network/NetworkVisualiserPage.vue";
|
||||
import InterfacesPage from "./components/interfaces/InterfacesPage.vue";
|
||||
|
||||
const router = createRouter({
|
||||
history: createWebHashHistory(),
|
||||
|
|
@ -12,6 +13,7 @@ const router = createRouter({
|
|||
{ path: '/' },
|
||||
{ path: '/about', name: "about", component: AboutPage },
|
||||
{ path: '/settings', name: "settings", component: SettingsPage },
|
||||
{ path: '/interfaces', name: "interfaces", component: InterfacesPage },
|
||||
{ path: '/network-visualiser', name: "network-visualiser", component: NetworkVisualiserPage },
|
||||
],
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue