123456789101112131415161718192021222324252627282930 |
- <template>
- <el-config-provider :locale="locale">
- <router-view></router-view>
- </el-config-provider>
- </template>
- <script>
- import { defineComponent } from 'vue'
- import locale from 'element-plus/lib/locale/lang/zh-cn'
- export default defineComponent({
- name: 'App',
- setup() {
- return {
- locale
- }
- }
- })
- </script>
- <style>
- #app {
- font-family: Avenir, Helvetica, Arial, sans-serif;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- /* text-align: center; */
- color: #2c3e50;
- width: 100%;
- height: 100vh;
- }
- </style>
|