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:
@ -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
10
ui/src/views/Index.vue
Normal 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
16
ui/src/views/Server.vue
Normal 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>
|
Reference in New Issue
Block a user