0
0
mirror of https://github.com/vx3r/wg-gen-web.git synced 2025-09-11 12:24:27 +00:00

split frontend into 2 pages, server and client

This commit is contained in:
vx3r
2020-02-20 12:07:13 +09:00
parent fe2ee45032
commit 755cc6adf6
6 changed files with 89 additions and 23 deletions

View File

@ -1,18 +1,15 @@
<template>
<v-content>
<Server/>
<Clients/>
</v-content>
</template>
<script>
import Server from '../components/Server'
import Clients from '../components/Clients'
export default {
name: 'home',
name: 'clients',
components: {
Server,
Clients
}
}

10
ui/src/views/Index.vue Normal file
View File

@ -0,0 +1,10 @@
<template>
</template>
<script>
export default {
created () {
this.$router.replace({ name: 'clients' })
}
}
</script>

16
ui/src/views/Server.vue Normal file
View File

@ -0,0 +1,16 @@
<template>
<v-content>
<Server/>
</v-content>
</template>
<script>
import Server from '../components/Server'
export default {
name: 'server',
components: {
Server
}
}
</script>