diff --git a/web/src/App.vue b/web/src/App.vue index a753dba..f45a698 100644 --- a/web/src/App.vue +++ b/web/src/App.vue @@ -1,30 +1,39 @@ - - Home | - About - - + Bot昵称:{{ bot_name }} + Bot战力:{{ bot_rating }} + + diff --git a/web/src/assets/background.png b/web/src/assets/background.png new file mode 100644 index 0000000..ddae80f Binary files /dev/null and b/web/src/assets/background.png differ diff --git a/web/src/assets/logo.png b/web/src/assets/logo.png deleted file mode 100644 index f3d2503..0000000 Binary files a/web/src/assets/logo.png and /dev/null differ diff --git a/web/src/components/HelloWorld.vue b/web/src/components/HelloWorld.vue deleted file mode 100644 index 879051a..0000000 --- a/web/src/components/HelloWorld.vue +++ /dev/null @@ -1,58 +0,0 @@ - - - {{ msg }} - - For a guide and recipes on how to configure / customize this project, - check out the - vue-cli documentation. - - Installed CLI Plugins - - babel - eslint - - Essential Links - - Core Docs - Forum - Community Chat - Twitter - News - - Ecosystem - - vue-router - vuex - vue-devtools - vue-loader - awesome-vue - - - - - - - - diff --git a/web/src/router/index.js b/web/src/router/index.js index d7a8d0a..09802f4 100644 --- a/web/src/router/index.js +++ b/web/src/router/index.js @@ -1,24 +1,11 @@ -import { createRouter, createWebHashHistory } from 'vue-router' -import HomeView from '../views/HomeView.vue' +import { createRouter, createWebHistory } from 'vue-router' + const routes = [ - { - path: '/', - name: 'home', - component: HomeView - }, - { - path: '/about', - name: 'about', - // route level code-splitting - // this generates a separate chunk (about.[hash].js) for this route - // which is lazy-loaded when the route is visited. - component: () => import(/* webpackChunkName: "about" */ '../views/AboutView.vue') - } ] const router = createRouter({ - history: createWebHashHistory(), + history: createWebHistory(), routes }) diff --git a/web/src/views/AboutView.vue b/web/src/views/AboutView.vue deleted file mode 100644 index 3fa2807..0000000 --- a/web/src/views/AboutView.vue +++ /dev/null @@ -1,5 +0,0 @@ - - - This is an about page - - diff --git a/web/src/views/HomeView.vue b/web/src/views/HomeView.vue deleted file mode 100644 index e8d96d7..0000000 --- a/web/src/views/HomeView.vue +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - -
- For a guide and recipes on how to configure / customize this project, - check out the - vue-cli documentation. -