build(web): 添加 ESLint 和 Prettier 配置文件

- 新增 .eslintrc.js 文件,配置 ESLint 规则和插件
- 新增 .prettierrc.json 文件,设置 Prettier 格式化选项
This commit is contained in:
zhoumengru
2025-08-29 14:57:13 +08:00
parent 390ea73d7d
commit 7aad6b6598
11 changed files with 3412 additions and 950 deletions

View File

@@ -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>