From c1805e1e6f41a370546e70a07d5f4496ad4b341d Mon Sep 17 00:00:00 2001 From: kimi <kimi42345@gmail.com> Date: 星期三, 22 一月 2020 15:58:55 +0800 Subject: [PATCH] add --- src/App.vue | 13 ++++++++----- 1 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/App.vue b/src/App.vue index 2e363d0..66f7f9a 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,17 +1,16 @@ <template> <div id="app"> - - <home /> + <router-view name="app"></router-view> </div> </template> <script> - import Home from "./views/Home.vue"; +// import Home from "./views/Home.vue"; export default { name :"app", - components:{ + /* components:{ Home - } + } */ }; </script> <style lang="stylus"> @@ -22,4 +21,8 @@ text-align center color #2c3e50 + .z_shadow { + border-radius: 10px; + box-shadow: 0px 0px 10px 5px #D0E2E9; + } </style> -- Gitblit v1.8.0