From 42456161ff1e57614c2d658b86e210426e71c053 Mon Sep 17 00:00:00 2001
From: CharleeWa <18888351756@163.com>
Date: Mon, 9 Dec 2024 20:43:53 +0800
Subject: [PATCH] feat: Support JSON5 (#136)
---
.vscode/extensions.json | 6 ++++--
.vscode/settings.json | 1 +
README.md | 9 ++++++---
README.zh-CN.md | 9 ++++++---
src/pages/[...all].vue | 12 ++++++------
src/pages/charts/index.vue | 12 ++++++------
src/pages/counter/index.vue | 12 ++++++------
src/pages/forgot-password/index.vue | 10 +++++-----
src/pages/index.vue | 12 ++++++------
src/pages/keepalive/index.vue | 14 +++++++-------
src/pages/login/index.vue | 10 +++++-----
src/pages/mock/index.vue | 12 ++++++------
src/pages/profile/index.vue | 12 ++++++------
src/pages/register/index.vue | 10 +++++-----
src/pages/settings/index.vue | 12 ++++++------
src/pages/unocss/index.vue | 12 ++++++------
16 files changed, 87 insertions(+), 78 deletions(-)
diff --git a/.vscode/extensions.json b/.vscode/extensions.json
index aee4216..a497cdf 100644
--- a/.vscode/extensions.json
+++ b/.vscode/extensions.json
@@ -3,8 +3,10 @@
"Vue.volar",
"antfu.unocss",
"antfu.goto-alias",
- "lokalise.i18n-ally",
"antfu.iconify",
- "antfu.file-nesting"
+ "antfu.file-nesting",
+ "lokalise.i18n-ally",
+ "blueglassblock.better-json5",
+ "dbaeumer.vscode-eslint"
]
}
diff --git a/.vscode/settings.json b/.vscode/settings.json
index e77d0da..87c793c 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -33,6 +33,7 @@
"html",
"markdown",
"json",
+ "json5",
"jsonc",
"yaml",
"toml",
diff --git a/README.md b/README.md
index 86f8b2e..a3e1030 100644
--- a/README.md
+++ b/README.md
@@ -20,7 +20,7 @@ An mobile web apps template based on the Vue 3 ecosystem.
[文档](https://easy-temps.github.io/easy-docs/vue3-vant-mobile/) / [交流](https://github.com/easy-temps/vue3-vant-mobile/issues/56) / [反馈](https://github.com/easy-temps/vue3-vant-mobile/issues)
-Live Demo
+🖥 Live Demo
[![Netlify Status](https://api.netlify.com/api/v1/badges/e6828bd2-2904-4c3e-a67c-b97d32aa1275/deploy-status)](https://app.netlify.com/sites/vue3-vant-mobile/deploys)
@@ -114,11 +114,14 @@ An mobile web apps template based on the Vue 3 ecosystem.
- [pnpm](https://pnpm.js.org/) - fast, disk space efficient package manager
- [Netlify](https://www.netlify.com/) - zero-config deployment
- [VS Code Extensions](./.vscode/extensions.json)
- - [Vite](https://marketplace.visualstudio.com/items?itemName=antfu.vite) - Fire up Vite server automatically
- [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) - Vue 3 `