mirror of
https://gitee.com/js-yhsec/energy_storage.git
synced 2026-05-27 18:59:26 +08:00
build(web): 添加 ESLint 和 Prettier 配置文件
- 新增 .eslintrc.js 文件,配置 ESLint 规则和插件 - 新增 .prettierrc.json 文件,设置 Prettier 格式化选项
This commit is contained in:
@@ -4,23 +4,12 @@
|
||||
|
||||
<style lang="scss">
|
||||
#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;
|
||||
}
|
||||
}
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
min-width: 1440px;
|
||||
min-height: 900px;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user