diff --git a/.vscode/extensions.json b/.vscode/extensions.json
new file mode 100644
index 000000000..30e116cf6
--- /dev/null
+++ b/.vscode/extensions.json
@@ -0,0 +1,11 @@
+{
+ "recommendations": [
+ "stylelint.vscode-stylelint",
+ "dbaeumer.vscode-eslint",
+ "esbenp.prettier-vscode",
+ "johnsoncodehk.volar",
+ "lokalise.i18n-ally",
+ "mikestead.dotenv",
+ "antfu.iconify"
+ ]
+}
diff --git a/.vscode/settings.json b/.vscode/settings.json
index 73b2b9a1b..b4e6050c8 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -1,11 +1,14 @@
{
- // You should install these plugins:
- // ESLint
- // Prettier - Code formatter
- // stylelint
- // vscode-icons
- // TypeScript Vue Plugin (Volar)
- // Vue Language Features (Volar)
+ /** 你需要安装这些插件,以便带来更好的提示体验
+ * ESLint
+ * Prettier - Code formatter
+ * stylelint
+ * vscode-icons
+ * i18n Ally
+ * Iconify IntelliSense
+ * TypeScript Vue Plugin (Volar)
+ * Vue Language Features (Volar)
+ */
"terminal.integrated.rendererType": "dom",
"editor.formatOnType": true,
"editor.formatOnSave": true,
@@ -45,5 +48,13 @@
},
"volar.tsPlugin": true,
"typescript.tsdk": "node_modules/typescript/lib",
- "i18n-ally.localesPaths": ["src/plugins/i18n"]
+ "i18n-ally.localesPaths": ["src/plugins/i18n"],
+ "i18n-ally.keystyle": "nested",
+ "i18n-ally.sortKeys": true,
+ "i18n-ally.namespace": true,
+ "i18n-ally.pathMatcher": "{locale}/{namespaces}.{ext}",
+ "i18n-ally.enabledParsers": ["ts"],
+ "i18n-ally.sourceLanguage": "en",
+ "i18n-ally.displayLanguage": "zh-CN",
+ "i18n-ally.enabledFrameworks": ["vue", "react"]
}
diff --git a/.vscode/vue3.0.code-snippets b/.vscode/vue3.0.code-snippets.json
similarity index 100%
rename from .vscode/vue3.0.code-snippets
rename to .vscode/vue3.0.code-snippets.json
diff --git a/.vscode/vue3.2+.setup-snippets.json b/.vscode/vue3.2+.setup-snippets.json
new file mode 100644
index 000000000..fa637f574
--- /dev/null
+++ b/.vscode/vue3.2+.setup-snippets.json
@@ -0,0 +1,17 @@
+{
+ "Vue3.2+快速生成模板": {
+ "prefix": "Vue3.2+",
+ "body": [
+ "\n",
+ "",
+ "\t
Pure-Admin
- -Loading