From 0d0582cc5352a60e5f7042df81e6153e70a9715e Mon Sep 17 00:00:00 2001 From: WX <1377869194@qq.com> Date: 星期二, 01 八月 2023 16:02:10 +0800 Subject: [PATCH] 改版 --- src/App.vue | 33 ++++++++------------------------- 1 files changed, 8 insertions(+), 25 deletions(-) diff --git a/src/App.vue b/src/App.vue index fcfc7fc..72abd95 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,30 +1,13 @@ <template> - <div id="nav"> - <router-link to="/">Home</router-link> | - <router-link to="/about">About</router-link> - </div> <router-view /> </template> -<style lang="less"> -#app { - font-family: Avenir, Helvetica, Arial, sans-serif; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - text-align: center; - color: #2c3e50; -} - -#nav { - padding: 30px; - - a { - font-weight: bold; - color: #2c3e50; - - &.router-link-exact-active { - color: #42b983; - } - } -} +<script> +export default { + //import寮曞叆鐨勭粍浠堕渶瑕佹敞鍏ュ埌瀵硅薄涓墠鑳戒娇鐢� + components: {}, +}; +</script> +<style lang="less" scoped> +//@import url(); 寮曞叆鍏叡css绫� </style> -- Gitblit v1.9.3