feat: 重构前端

This commit is contained in:
tbphp
2025-07-02 17:15:10 +08:00
parent 6a96c4464b
commit f15d0dd8da
102 changed files with 5392 additions and 10344 deletions

48
web/.prettierrc Normal file
View File

@@ -0,0 +1,48 @@
{
"$schema": "https://json.schemastore.org/prettierrc",
"semi": false,
"singleQuote": true,
"tabWidth": 2,
"useTabs": false,
"printWidth": 100,
"endOfLine": "lf",
"trailingComma": "es5",
"bracketSpacing": true,
"bracketSameLine": false,
"arrowParens": "avoid",
"vueIndentScriptAndStyle": false,
"htmlWhitespaceSensitivity": "ignore",
"embeddedLanguageFormatting": "auto",
"overrides": [
{
"files": ["*.vue"],
"options": {
"parser": "vue",
"vueIndentScriptAndStyle": false
}
},
{
"files": ["*.json", "*.jsonc"],
"options": {
"parser": "json",
"trailingComma": "none"
}
},
{
"files": ["*.md", "*.markdown"],
"options": {
"parser": "markdown",
"printWidth": 80,
"proseWrap": "preserve",
"tabWidth": 2
}
},
{
"files": ["*.yaml", "*.yml"],
"options": {
"parser": "yaml",
"tabWidth": 2
}
}
]
}