diff --git a/public/admin/src/components/Configuration.vue b/public/admin/src/components/Configuration.vue new file mode 100644 index 0000000..f594a26 --- /dev/null +++ b/public/admin/src/components/Configuration.vue @@ -0,0 +1,56 @@ + + + \ No newline at end of file diff --git a/public/admin/src/components/Login.vue b/public/admin/src/components/Login.vue new file mode 100644 index 0000000..352ec32 --- /dev/null +++ b/public/admin/src/components/Login.vue @@ -0,0 +1,58 @@ + + + + + \ No newline at end of file diff --git a/public/admin/src/components/ServerStatus.vue b/public/admin/src/components/ServerStatus.vue new file mode 100644 index 0000000..f29d769 --- /dev/null +++ b/public/admin/src/components/ServerStatus.vue @@ -0,0 +1,33 @@ + + + \ No newline at end of file diff --git a/public/admin/src/router/index.js b/public/admin/src/router/index.js new file mode 100644 index 0000000..38909af --- /dev/null +++ b/public/admin/src/router/index.js @@ -0,0 +1,31 @@ +import Vue from 'vue' +import Router from 'vue-router' +import Login from '@/components/Login.vue' +import ServerStatus from '@/components/ServerStatus.vue' +import Configuration from '@/components/Configuration.vue' + +Vue.use(Router) + +export default new Router({ + routes: [ + { + path: '/login', + name: 'Login', + component: Login + }, + { + path: '/status', + name: 'ServerStatus', + component: ServerStatus + }, + { + path: '/config', + name: 'Configuration', + component: Configuration + }, + { + path: '/', + redirect: '/login' + } + ] +}) \ No newline at end of file diff --git a/public/index.html b/public/index.html deleted file mode 100644 index 6dd69ab..0000000 --- a/public/index.html +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - WenSocket - - - - - -
- - - - \ No newline at end of file