mirror of
https://github.com/liamcottle/reticulum-meshchat.git
synced 2026-11-29 19:36:31 -05:00
use router for messages page
This commit is contained in:
parent
a91964a463
commit
165e08131f
6 changed files with 240 additions and 214 deletions
|
|
@ -7,12 +7,14 @@ import SettingsPage from "./components/settings/SettingsPage.vue";
|
|||
import NetworkVisualiserPage from "./components/network/NetworkVisualiserPage.vue";
|
||||
import InterfacesPage from "./components/interfaces/InterfacesPage.vue";
|
||||
import NomadNetworkPage from "./components/nomadnetwork/NomadNetworkPage.vue";
|
||||
import MessagesPage from "./components/messages/MessagesPage.vue";
|
||||
|
||||
const router = createRouter({
|
||||
history: createWebHashHistory(),
|
||||
routes: [
|
||||
{ path: '/' },
|
||||
{ path: '/about', name: "about", component: AboutPage },
|
||||
{ path: '/messages', name: "messages", component: MessagesPage },
|
||||
{ path: '/nomadnetwork', name: "nomadnetwork", component: NomadNetworkPage },
|
||||
{ path: '/settings', name: "settings", component: SettingsPage },
|
||||
{ path: '/interfaces', name: "interfaces", component: InterfacesPage },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue