@@ -114,6 +130,14 @@
Interface configuration hooks
+
+ Update server configuration
+ mdi-update
+
@@ -140,16 +164,6 @@
-
-
- Update server configuration
- mdi-update
-
-
diff --git a/ui/src/router/index.js b/ui/src/router/index.js
index ad988da..bbd46bb 100644
--- a/ui/src/router/index.js
+++ b/ui/src/router/index.js
@@ -1,21 +1,36 @@
import Vue from 'vue'
import VueRouter from 'vue-router'
-import Home from '../views/Home.vue'
-Vue.use(VueRouter)
+Vue.use(VueRouter);
const routes = [
{
path: '/',
- name: 'home',
- component: Home
+ name: 'index',
+ component: function () {
+ return import(/* webpackChunkName: "Index" */ '../views/Index.vue')
+ },
+ },
+ {
+ path: '/clients',
+ name: 'clients',
+ component: function () {
+ return import(/* webpackChunkName: "Clients" */ '../views/Clients.vue')
+ },
+ },
+ {
+ path: '/server',
+ name: 'server',
+ component: function () {
+ return import(/* webpackChunkName: "Server" */ '../views/Server.vue')
+ },
}
-]
+];
const router = new VueRouter({
mode: 'history',
base: process.env.BASE_URL,
routes
-})
+});
export default router
diff --git a/ui/src/views/Home.vue b/ui/src/views/Clients.vue
similarity index 68%
rename from ui/src/views/Home.vue
rename to ui/src/views/Clients.vue
index 6ac0b8a..2512e75 100644
--- a/ui/src/views/Home.vue
+++ b/ui/src/views/Clients.vue
@@ -1,18 +1,15 @@
-
diff --git a/ui/src/views/Server.vue b/ui/src/views/Server.vue
new file mode 100644
index 0000000..a45af91
--- /dev/null
+++ b/ui/src/views/Server.vue
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+