This commit is contained in:
sexygoat
2026-03-31 18:41:52 +08:00
commit 3c62cc1cd1
527 changed files with 96725 additions and 0 deletions

21
.vscode/extensions.json vendored Normal file
View File

@@ -0,0 +1,21 @@
{
/*
1.
2.
3.
*/
"recommendations": [
// "antfu.vite", // 在编辑器内预览/调试您的应用程序
// "antfu.iconify", // hover 内联显示相应的图标
"antfu.unocss", // 一款零配置的 CSS 框架
"vue.volar", // Vue 3 的开发必备扩展
"dbaeumer.vscode-eslint", // ESLint 支持
// "editorConfig.editorConfig", // EditorConfig 支持
// "uni-helper.uni-highlight-vscode", // 对条件编译的代码注释部分提供了语法提示、高亮、折叠
// "uni-helper.uni-app-snippets-vscode" // uni-app 基本能力代码片段。
// "uni-helper.uni-ui-snippets-vscode" // uni-ui 基本能力代码片段
// "uni-helper.uni-helper-vscode" // Uni Helper 扩展包集合
]
}

36
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,36 @@
{
// 禁用 prettier使用 eslint 的代码格式化
"prettier.enable": false,
// 保存时自动格式化
"editor.formatOnSave": false,
// 保存时自动修复
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit",
"source.organizeImports": "never"
},
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"vue",
"html",
"markdown",
"json",
"jsonc",
"yaml"
],
// 消除json文件中的注释警告
"files.associations": {
"manifest.json": "jsonc",
"pages.json": "jsonc"
},
// 消除Unknown at rule @apply警告
"css.customData": [
".vscode/unocss.json"
],
"i18n-ally.localesPaths": [
"src/locales",
"src/locales/langs"
]
}

11
.vscode/unocss.json vendored Normal file
View File

@@ -0,0 +1,11 @@
{
"version": 1.1,
"atDirectives": [
{
"name": "@apply"
},
{
"name": "@screen"
}
]
}

48
.vscode/vue3.code-snippets vendored Normal file
View File

@@ -0,0 +1,48 @@
{
// Place your 工作区 snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and
// description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope
// is left empty or omitted, the snippet gets applied to all languages. The prefix is what is
// used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders.
// Placeholders with the same ids are connected.
// Example:
// "Print to console": {
// "scope": "javascript,typescript",
// "prefix": "log",
// "body": [
// "console.log('$1');",
// "$2"
// ],
// "description": "Log output to console"
// }
"Print Vue3 SFC": {
"scope": "vue",
"prefix": "v3",
"body": [
"<template>",
" <view class=\"\">$1</view>",
"</template>\n",
"<script lang=\"ts\" setup>",
"//$2",
"</script>\n",
"<style lang=\"scss\" scoped>",
"//$3",
"</style>\n",
],
},
"Print style": {
"scope": "vue",
"prefix": "st",
"body": ["<style lang=\"scss\" scoped>", "//", "</style>\n"],
},
"Print script": {
"scope": "vue",
"prefix": "sc",
"body": ["<script lang=\"ts\" setup>", "//$3", "</script>\n"],
},
"Print template": {
"scope": "vue",
"prefix": "te",
"body": ["<template>", " <view class=\"\">$1</view>", "</template>\n"],
},
}