use router for interfaces page

This commit is contained in:
liamcottle 2024-08-05 21:07:25 +12:00
parent b57b76f035
commit 89dab4e68b
3 changed files with 19 additions and 16 deletions

View file

@ -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 },
],
})