vue3-element-plus-app-chu 0.0.8 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -0
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
基于 Vite 初始化的 Vue 3 项目,使用 TypeScript,并已全局注册 Element Plus。
|
|
4
4
|
|
|
5
|
+
## 启动
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
pnpm dev # 同时启动前端(5173)和后端(3000)
|
|
9
|
+
pnpm dev:frontend # 只启动前端
|
|
10
|
+
pnpm dev:backend # 只启动后端(backend/ 目录,tsx watch)
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
一键启动命令通过 `npm-run-all2` 并行执行两个子命令,输出带 `[dev:frontend]` / `[dev:backend]` 前缀。
|
|
14
|
+
|
|
5
15
|
## 数字人民币头寸预报
|
|
6
16
|
|
|
7
17
|
默认入口为数字人民币头寸预报,侧边菜单可切换至原有数字人民币授权页面;切换时保留各自列表状态。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vue3-element-plus-app-chu",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.9",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -11,7 +11,9 @@
|
|
|
11
11
|
"url": "git+https://github.com/ruiange/chu.git"
|
|
12
12
|
},
|
|
13
13
|
"scripts": {
|
|
14
|
-
"dev": "
|
|
14
|
+
"dev": "run-p --print-label dev:frontend dev:backend",
|
|
15
|
+
"dev:frontend": "vite",
|
|
16
|
+
"dev:backend": "pnpm -C backend dev",
|
|
15
17
|
"build": "run-p type-check \"build-only {@}\" --",
|
|
16
18
|
"preview": "vite preview",
|
|
17
19
|
"build-only": "vite build",
|