refactor(路由配置): 将路由配置从json5格式统一改为jsonc格式

统一项目中的路由配置格式,从json5改为jsonc,保持一致性
移除json5特有的注释语法,使用标准json格式
更新vscode代码片段模板以匹配新的格式规范
This commit is contained in:
feige996
2025-07-08 16:45:21 +08:00
parent cd45d77646
commit f7154d173c
5 changed files with 27 additions and 27 deletions

View File

@@ -19,12 +19,12 @@
"scope": "vue",
"prefix": "v3",
"body": [
"<route lang=\"json5\" type=\"page\">",
"<route lang=\"jsonc\" type=\"page\">",
"{",
" layout: 'default',",
" style: {",
" navigationBarTitleText: '$1',",
" },",
" \"layout\": \"default\",",
" \"style\": {",
" \"navigationBarTitleText\": \"$1\"",
" }",
"}",
"</route>\n",
"<script lang=\"ts\" setup>",