Files
gin-vue-admin/web/src/App.vue
奇淼(piexlmax 350f4572ed 集成tailwindcss 替换新的登陆页面和版权信息组件 (#1499)
* 集成tailwindcss

* fix: 修改登录,init 页面

* Update package.json

* 升级可升级的第三方库到新版本

* 细节调整

---------

Co-authored-by: bypanghu <bypanghu@163.com>
Co-authored-by: task <121913992@qq.com>
2023-08-04 17:03:21 +08:00

35 lines
626 B
Vue

<template>
<div id="app">
<el-config-provider :locale="zhCn">
<router-view />
</el-config-provider>
</div>
</template>
<script>
export default {
name: 'App'
}
</script>
<script setup>
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
// element 2.3.8之前使用下面的语句
// import zhCn from 'element-plus/lib/locale/lang/zh-cn'
</script>
<style lang="scss">
@tailwind base;
@tailwind components;
@tailwind utilities;
// 引入初始化样式
#app {
background: #eee;
height: 100vh;
overflow: hidden;
font-weight: 400 !important;
}
.el-button{
font-weight: 400 !important;
}
</style>