Skip to content

Commit acc2c24

Browse files
committed
docs: update
1 parent 881b5ad commit acc2c24

File tree

3 files changed

+1185
-577
lines changed

3 files changed

+1185
-577
lines changed

CHANGELOG.md

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# [1.0.0](https://github.com/js-banana/vite-vue3-ts/compare/v1.1.0...v1.0.0) (2022-08-09)
2+
3+
# [1.0.0](https://github.com/js-banana/vite-vue3-ts/compare/v1.1.0...v1.0.0) (2022-08-09)
4+
5+
# [1.0.0](https://github.com/js-banana/vite-vue3-ts/compare/v1.1.0...v1.0.0) (2022-08-09)
6+
7+
# [1.0.0](https://github.com/js-banana/vite-vue3-ts/compare/v1.1.0...v1.0.0) (2022-08-09)
8+
9+
# [1.0.0](https://github.com/js-banana/vite-vue3-ts/compare/v1.1.0...v1.0.0) (2022-08-09)
10+
11+
### Bug Fixes
12+
13+
- nav ([a66af47](https://github.com/js-banana/vite-vue3-ts/commit/a66af4704c00fac48fcd6d30f1fa05f3c883aad9))
14+
- **router:** 域名二级目录的路由配置优化 ([9b8c887](https://github.com/js-banana/vite-vue3-ts/commit/9b8c8876d61ebbdda7b16cc10aa19083517eceb2))
15+
- **SideMenu:** 修复菜单文本与图标居中 ([60bafa0](https://github.com/js-banana/vite-vue3-ts/commit/60bafa0711b2f44df76f2979399ac95998576d67))
16+
17+
### Features
18+
19+
- **.env:** 增加环境变量配置文件 ([403029c](https://github.com/js-banana/vite-vue3-ts/commit/403029cb0ad703f4ea464a81876987a64b570f37))
20+
- 调整权限逻辑,补充 v-role 指令 ([9a9598b](https://github.com/js-banana/vite-vue3-ts/commit/9a9598b2bb85a5c8baf5a08c56efd0e308514b96))
21+
- 添加路由动效,抽离 Breadcrumb 组件 ([d32087c](https://github.com/js-banana/vite-vue3-ts/commit/d32087c9f9490f6245589fce42342b19e3068b5e))
22+
- 增加 Table 使用 demo,完善文档说明,优化 Table API,保持与官方 antv 一致 ([159e0da](https://github.com/js-banana/vite-vue3-ts/commit/159e0da34c2897d4d2a3433ac793cfa3c4521cf2))
23+
- vite2.x => vite3.x 工具链生态相关升级更新 ([820c02e](https://github.com/js-banana/vite-vue3-ts/commit/820c02e0f1eec256bf4fc9884cb25f2631fa803e))
24+
25+
### Performance Improvements
26+
27+
- 路由模式由 hash 调整为 history ([e37f2f6](https://github.com/js-banana/vite-vue3-ts/commit/e37f2f60291241ec4ab30134afd46b0dd83815a8))
28+
29+
## [0.0.1](https://github.com/js-banana/vite-vue3-ts/compare/219fe493bd2623c0abfab0e4ef48a2a12838ccdf...v0.0.1) (2021-12-13)
30+
31+
### Features
32+
33+
- **app:** 生产环境 mock、功能组件、路由完善 ([74b1983](https://github.com/js-banana/vite-vue3-ts/commit/74b1983c7a946b2fb1a95afcd3870a13db96fa9b))
34+
- **mock:** mock 数据编写 ([219fe49](https://github.com/js-banana/vite-vue3-ts/commit/219fe493bd2623c0abfab0e4ef48a2a12838ccdf))
35+
- update app and docs ([b61d9ce](https://github.com/js-banana/vite-vue3-ts/commit/b61d9cea26c522850eca74cb0833d5efd90c52c1))

package.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"node": ">=14"
2323
},
2424
"scripts": {
25-
"bootstrap": "yarn install",
25+
"bootstrap": "pnpm install",
2626
"check": "vue-tsc --noEmit",
2727
"serve": "npm run dev",
2828
"dev": "vite",
@@ -31,14 +31,14 @@
3131
"build": "vite build",
3232
"build:check": "vue-tsc --noEmit && vite build",
3333
"build:github": "vite build --base=/vite-vue3-ts/",
34-
"build:no-cache": "yarn clean:cache && npm run build",
34+
"build:no-cache": "pnpm clean:cache && npm run build",
3535
"preview": "vite preview",
3636
"clean:cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite",
3737
"clean:lib": "rimraf node_modules",
3838
"lint:eslint": "eslint --cache --max-warnings 0 \"{src,mock}/**/*.{vue,ts,tsx}\" --fix",
3939
"lint:prettier": "prettier --write \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"",
4040
"lint:lint-staged": "lint-staged -c ./.husky/lintstagedrc.js",
41-
"reinstall": "rimraf yarn.lock && rimraf package.lock.json && rimraf node_modules && npm run bootstrap",
41+
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s && npx prettier CHANGELOG.md --write && git add CHANGELOG.md",
4242
"prepare": "husky install"
4343
},
4444
"dependencies": {
@@ -66,6 +66,7 @@
6666
"@vitejs/plugin-vue": "^3.0.1",
6767
"@vitejs/plugin-vue-jsx": "^2.0.0",
6868
"autoprefixer": "^10.4.0",
69+
"conventional-changelog-cli": "^2.2.2",
6970
"eslint": "^7.32.0",
7071
"eslint-config-prettier": "^8.3.0",
7172
"eslint-define-config": "~1.0.9",

0 commit comments

Comments
 (0)