guava-ui 0.3.4 → 0.3.6
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.en.md +91 -97
- package/README.md +14 -142
- package/lib/guava-ui.es.js +4942 -4301
- package/lib/guava-ui.es.js.map +1 -1
- package/lib/guava-ui.umd.js +2 -2
- package/lib/guava-ui.umd.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/types/index.d.ts +305 -117
- package/package.json +9 -10
package/README.en.md
CHANGED
|
@@ -1,95 +1,89 @@
|
|
|
1
1
|
# Statement
|
|
2
2
|
|
|
3
|
-
`guava-ui`
|
|
3
|
+
`guava-ui` — guava frontend project (Vue 3) version history
|
|
4
4
|
Author: <andy.ten@tom.com> & <xukaixing@hotmail.com>
|
|
5
|
-
API
|
|
6
|
-
|
|
7
|
-
##
|
|
8
|
-
|
|
9
|
-
1.
|
|
10
|
-
2.
|
|
11
|
-
3.
|
|
12
|
-
|
|
13
|
-
-
|
|
14
|
-
-
|
|
15
|
-
-
|
|
16
|
-
-
|
|
5
|
+
API Docs: <http://www.ccexpert.top:8888/guava/>
|
|
6
|
+
|
|
7
|
+
## Prerequisites
|
|
8
|
+
|
|
9
|
+
1. Install global **Node.js** — use **v24.14.0** or later; **nvm** is recommended for managing multiple Node.js versions
|
|
10
|
+
2. **pnpm** is recommended for npm dependency management
|
|
11
|
+
3. Global install: `npm install -g pnpm eslint sass`
|
|
12
|
+
4. Recommended IDE: **VS Code (latest)**. Suggested extensions:
|
|
13
|
+
- **Vite** — Vue 3 bundler; use Vite for the dev environment
|
|
14
|
+
- **Vue - Official** — Vue 3 support for VS Code
|
|
15
|
+
- **Prettier** — code formatter (no lint/syntax checking)
|
|
16
|
+
- **ESLint** — JavaScript/TypeScript syntax validation
|
|
17
|
+
- **Stylelint** — CSS syntax validation
|
|
17
18
|
|
|
18
|
-
## Version
|
|
19
|
+
## Version — last >= 3
|
|
19
20
|
|
|
20
|
-
> v0.
|
|
21
|
-
>>
|
|
22
|
-
>>
|
|
23
|
-
>> vite.config.js编译与打包优化
|
|
21
|
+
> v0.3.5: 2026.06.10
|
|
22
|
+
>> Upgrade Node.js to v24.18.0
|
|
23
|
+
>> Upgrade pnpm to v11.9.0
|
|
24
24
|
|
|
25
25
|
---
|
|
26
26
|
|
|
27
|
-
> v0.
|
|
28
|
-
>>
|
|
27
|
+
> v0.3.4: 2026.06.09
|
|
28
|
+
>> Improve Form / Table id and name generation rules
|
|
29
29
|
|
|
30
30
|
---
|
|
31
31
|
|
|
32
|
-
> v0.
|
|
33
|
-
>>
|
|
34
|
-
>>
|
|
35
|
-
>> 在vite.config.ts中配置css解析
|
|
36
|
-
>> 定义目录结构,在@/assets/styles中,新增app.scss、main.scss、variables.scss样式表
|
|
37
|
-
>> pnpm add postcss -D 用JavaScript编写的工具转换CSS代码
|
|
38
|
-
>> pnpm add postcss-html -D 将html文件中的样式块中的CSS代码提取出来进行处理
|
|
39
|
-
>> pnpm add postcss-scss -D 将scss代码转换成CSS代码
|
|
40
|
-
>> pnpm add autoprefixer -D 自动添加CSS浏览器前缀的插件
|
|
41
|
-
>> pnpm add vite-plugin-progress -D Vite 构建工具的插件,提供构建进度条显示功能
|
|
42
|
-
>> pnpm add vite-plugin-eslint -D
|
|
43
|
-
>> pnpm add terser -D
|
|
32
|
+
> v0.3.3: 2026.06.09
|
|
33
|
+
>> Optimize styles
|
|
34
|
+
>> Optimize CSS compression after lib build
|
|
44
35
|
|
|
45
36
|
## Exec
|
|
46
37
|
|
|
47
|
-
###
|
|
38
|
+
### Using `pnpm`
|
|
48
39
|
|
|
49
40
|
```bash
|
|
50
|
-
#
|
|
41
|
+
# Install dependencies
|
|
51
42
|
$ pnpm install
|
|
52
43
|
|
|
53
|
-
#
|
|
44
|
+
# Start dev server
|
|
54
45
|
$ pnpm dev
|
|
55
46
|
|
|
56
|
-
#
|
|
47
|
+
# Build for production
|
|
57
48
|
$ pnpm build
|
|
58
49
|
```
|
|
59
50
|
|
|
60
51
|
## Modules
|
|
61
52
|
|
|
62
|
-
- `sass-embedded` pnpm add sass-embedded -D
|
|
63
|
-
- `postcss` pnpm add postcss -D
|
|
64
|
-
- `postcss-html` pnpm add postcss-html -D
|
|
65
|
-
- `postcss-scss` pnpm add postcss-scss -D
|
|
66
|
-
- `autoprefixer` pnpm add autoprefixer -D
|
|
67
|
-
- `vite-plugin-progress` Vite
|
|
68
|
-
- `vite-plugin-eslint`
|
|
69
|
-
- `eslint-plugin-vue`
|
|
70
|
-
- `eslint` pnpm add eslint @vue/eslint-config-typescript eslint-plugin-oxlint eslint-plugin-prettier eslint-plugin-vue vue-eslint-parser -D
|
|
71
|
-
- `@typescript-eslint/eslint-plugin`
|
|
72
|
-
- `@typescript-eslint/parser`
|
|
73
|
-
- `@commitlint/{config-conventional,cli}`
|
|
74
|
-
- `lint-staged`
|
|
75
|
-
- `terser` JavaScript
|
|
76
|
-
- `stylelint` pnpm add stylelint stylelint-config-standard stylelint-config-standard-scss stylelint-order stylelint-prettier stylelint-config-prettier stylelint-config-recommended-vue stylelint-config-recommended stylelint-config-recess-order stylelint-config-recess-order stylelint-scss -D
|
|
77
|
-
- `dayjs` pnpm add dayjs
|
|
78
|
-
- `vite-plugin-style-import`
|
|
79
|
-
- `pinia`
|
|
80
|
-
- `pinia-plugin-persistedstate`
|
|
81
|
-
- `vite-plugin-ejs`
|
|
82
|
-
- `vite-plugin-url-copy`
|
|
83
|
-
- `vite-plugin-svg-icons`
|
|
84
|
-
- `vite-plugin-purge-icons`
|
|
85
|
-
- `vite-plugin-full-reload`
|
|
86
|
-
- `rollup-plugin-visualizer`
|
|
87
|
-
- `browserslist`
|
|
88
|
-
- `@vitejs/plugin-legacy` Vite
|
|
89
|
-
- `@rollup/plugin-commonjs` Rollup
|
|
90
|
-
- `cropper.js`
|
|
91
|
-
- `vite-plugin-vue-devtools`
|
|
92
|
-
- `@intlify/unplugin-vue-i18n` Vite
|
|
53
|
+
- `sass-embedded` — `pnpm add sass-embedded -D` — use SCSS in Node.js
|
|
54
|
+
- `postcss` — `pnpm add postcss -D` — transform CSS with JavaScript
|
|
55
|
+
- `postcss-html` — `pnpm add postcss-html -D` — extract and process CSS from `<style>` blocks in HTML
|
|
56
|
+
- `postcss-scss` — `pnpm add postcss-scss -D` — compile SCSS to CSS
|
|
57
|
+
- `autoprefixer` — `pnpm add autoprefixer -D` — automatically add vendor prefixes to CSS
|
|
58
|
+
- `vite-plugin-progress` — Vite plugin that shows build progress
|
|
59
|
+
- `vite-plugin-eslint` — integrates ESLint; reports issues on save or during build
|
|
60
|
+
- `eslint-plugin-vue` — lint `.vue` files (TypeScript)
|
|
61
|
+
- `eslint` — `pnpm add eslint @vue/eslint-config-typescript eslint-plugin-oxlint eslint-plugin-prettier eslint-plugin-vue vue-eslint-parser -D`
|
|
62
|
+
- `@typescript-eslint/eslint-plugin` — TypeScript ESLint plugin
|
|
63
|
+
- `@typescript-eslint/parser` — TypeScript ESLint parser
|
|
64
|
+
- `@commitlint/{config-conventional,cli}` — Git commit message convention checks
|
|
65
|
+
- `lint-staged` — run linters on files staged with `git add`
|
|
66
|
+
- `terser` — JavaScript minifier (modern fork of UglifyJS, supports ES6+)
|
|
67
|
+
- `stylelint` — `pnpm add stylelint stylelint-config-standard stylelint-config-standard-scss stylelint-order stylelint-prettier stylelint-config-prettier stylelint-config-recommended-vue stylelint-config-recommended stylelint-config-recess-order stylelint-config-recess-order stylelint-scss -D`
|
|
68
|
+
- `dayjs` — `pnpm add dayjs` — lightweight date library with i18n and flexible parsing/formatting
|
|
69
|
+
- `vite-plugin-style-import` — on-demand loading of component library styles
|
|
70
|
+
- `pinia` — Vuex replacement for global state management
|
|
71
|
+
- `pinia-plugin-persistedstate` — persist Pinia state to localStorage or sessionStorage
|
|
72
|
+
- `vite-plugin-ejs` — EJS (Embedded JavaScript Templates) in HTML (`<%=%>`)
|
|
73
|
+
- `vite-plugin-url-copy` — copy dev server URL to clipboard on startup
|
|
74
|
+
- `vite-plugin-svg-icons` — load local SVG icons as SVG sprites to reduce HTTP requests
|
|
75
|
+
- `vite-plugin-purge-icons` — on-demand SVG icons from Material Icons, Font Awesome, Tabler, Heroicons, etc.
|
|
76
|
+
- `vite-plugin-full-reload` — full page reload when watched files change (e.g. `vite.config.js`, where HMR may not apply)
|
|
77
|
+
- `rollup-plugin-visualizer` — interactive bundle size report for Vite/Rollup/Webpack
|
|
78
|
+
- `browserslist` — define supported browser ranges for the project
|
|
79
|
+
- `@vitejs/plugin-legacy` — Vite official plugin for legacy browsers (IE11, older Chrome/Safari/Firefox); adds polyfills and increases bundle size — removed when legacy support is not needed
|
|
80
|
+
- `@rollup/plugin-commonjs` — Rollup plugin for CommonJS; caused dayjs import issues with Element Plus TimePicker during build — removed
|
|
81
|
+
- `cropper.js` — image cropping, zoom, and rotation in the browser
|
|
82
|
+
- `vite-plugin-vue-devtools` — enable Vue Devtools in development
|
|
83
|
+
- `@intlify/unplugin-vue-i18n` — Vite does not support vue-i18n runtime compilation by default; this plugin optimizes i18n
|
|
84
|
+
- `@vueuse/core` — Vue 3 Composition API utilities: `useMouse()`, `useDark()`, `useLocalStorage()`, `useFetch()`, `useClipboard()`, `useFullscreen()`, etc.
|
|
85
|
+
- `unocss` — UnoCSS atomic CSS
|
|
86
|
+
- `pinyin-pro` — Chinese characters to pinyin conversion
|
|
93
87
|
|
|
94
88
|
## Catalog
|
|
95
89
|
|
|
@@ -99,51 +93,51 @@ $ pnpm build
|
|
|
99
93
|
|
|
100
94
|
### FAQ
|
|
101
95
|
|
|
102
|
-
-
|
|
96
|
+
- **Install pnpm**
|
|
103
97
|
|
|
104
98
|
```text
|
|
105
|
-
|
|
106
|
-
|
|
99
|
+
Install via npm: $ npm install -g pnpm
|
|
100
|
+
Check version: $ pnpm -v
|
|
107
101
|
```
|
|
108
102
|
|
|
109
|
-
-
|
|
103
|
+
- **Install ESLint globally**
|
|
110
104
|
|
|
111
105
|
```text
|
|
112
|
-
|
|
113
|
-
|
|
106
|
+
Install via npm: $ npm install -g eslint babel-eslint
|
|
107
|
+
Note: If you use nvm, run this under the active Node.js version
|
|
114
108
|
```
|
|
115
109
|
|
|
116
|
-
-
|
|
110
|
+
- **Configure registry mirror**
|
|
117
111
|
|
|
118
112
|
```text
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
113
|
+
Taobao mirror (legacy): $ npm config set registry https://registry.npm.taobao.org
|
|
114
|
+
Restore default npm registry: $ npm config set registry https://registry.npmjs.org/
|
|
115
|
+
Clear cache: $ npm cache clean --force
|
|
122
116
|
```
|
|
123
117
|
|
|
124
|
-
-
|
|
118
|
+
- **Switch Node.js version**
|
|
125
119
|
|
|
126
|
-
|
|
127
|
-
|
|
120
|
+
With nvm: `nvm alias default <version>`
|
|
121
|
+
Restart VS Code after switching
|
|
128
122
|
|
|
129
|
-
## Git
|
|
123
|
+
## Git commit rules
|
|
130
124
|
|
|
131
|
-
- feat
|
|
132
|
-
- fix
|
|
133
|
-
- docs
|
|
134
|
-
- style
|
|
135
|
-
- refactor
|
|
136
|
-
- perf
|
|
137
|
-
- test
|
|
138
|
-
- ci
|
|
139
|
-
- chore
|
|
140
|
-
- revert
|
|
141
|
-
- workflow
|
|
142
|
-
- mod
|
|
143
|
-
- wip
|
|
144
|
-
- types
|
|
125
|
+
- feat — new feature
|
|
126
|
+
- fix — bug fix
|
|
127
|
+
- docs — documentation
|
|
128
|
+
- style — formatting/style (no logic change)
|
|
129
|
+
- refactor — refactor (neither feature nor bug fix)
|
|
130
|
+
- perf — performance or UX improvement
|
|
131
|
+
- test — add or update tests
|
|
132
|
+
- ci — CI configuration changes
|
|
133
|
+
- chore — build or tooling changes
|
|
134
|
+
- revert — revert to a previous version
|
|
135
|
+
- workflow — workflow improvements
|
|
136
|
+
- mod — miscellaneous changes
|
|
137
|
+
- wip — work in progress
|
|
138
|
+
- types — type definitions
|
|
145
139
|
|
|
146
140
|
## HomePage
|
|
147
141
|
|
|
148
|
-
-
|
|
149
|
-
-
|
|
142
|
+
- [github-xukaixing](https://github.com/xukaixing)
|
|
143
|
+
- [gitee-xukaixing](https://gitee.com/xukaixing)
|
package/README.md
CHANGED
|
@@ -6,9 +6,10 @@
|
|
|
6
6
|
|
|
7
7
|
## Preorder
|
|
8
8
|
|
|
9
|
-
1. 安装全局`nodejs` 请使用`
|
|
9
|
+
1. 安装全局`nodejs` 请使用`v24.14.0`及以上版本,建议使用`nvm`管理 nodejs 多个版本
|
|
10
10
|
2. 建议使用`pnpm`管理 npm 依赖
|
|
11
|
-
3.
|
|
11
|
+
3. 全局安装:npm install -g pnpm eslint sass
|
|
12
|
+
4. 前端开发 ide 建议使用`vscode:latest`, 必要的插件列表:
|
|
12
13
|
- `Vite` : vue3 打包工具,开发环境使用vite运行
|
|
13
14
|
- `Vue - Official` : vscode的vue3支持工具
|
|
14
15
|
- `Prettier` : 代码格式化工具,无 lint 检查代码语法能力
|
|
@@ -17,155 +18,26 @@
|
|
|
17
18
|
|
|
18
19
|
## Version - last >= 3
|
|
19
20
|
|
|
20
|
-
> v0.3.
|
|
21
|
-
>>
|
|
22
|
-
>>
|
|
23
|
-
|
|
24
|
-
> v0.3.2: 2026.06.07
|
|
25
|
-
>> 解决InputNumber组件多语言翻译问题
|
|
26
|
-
>> 优化GvTabs组件maxHeight计算
|
|
27
|
-
>> 解决chrome 浏览器 warning
|
|
28
|
-
|
|
29
|
-
> v0.3.1: 2026.06.05
|
|
30
|
-
>> 解决Table组件表头是字典的筛选问题
|
|
31
|
-
>> Table组件增加行单击事件回调方法
|
|
32
|
-
>> 优化表头是字典的下拉框的css
|
|
33
|
-
>> 解决crud.tableFetch参数丢失问题
|
|
34
|
-
>> 优化tooltip css
|
|
35
|
-
>> 解决更新form的model字典无法清空问题
|
|
36
|
-
|
|
37
|
-
> v0.3.0: 2026.06.04
|
|
38
|
-
>> 优化列表表头筛选/重置功能
|
|
39
|
-
>> 解决GvInputNumber无法显示问题
|
|
40
|
-
>> 解决form表单字典radio切换报错问题
|
|
41
|
-
>> 优化GvTabs组件显示
|
|
42
|
-
>> 解决DatePicker组件选择周报错问题
|
|
43
|
-
>> 日期组件增加显示自然周功能
|
|
44
|
-
>> 解决查询Form查询条件有hidden时,展开/折叠显示问题
|
|
45
|
-
|
|
46
|
-
> v0.2.9: 2026.06.03
|
|
47
|
-
>> 优化Button loading显示
|
|
48
|
-
>> GvDrawer优化,去掉v-if,采用v-model,不需要每次都重新创建组件;
|
|
49
|
-
>> drawer组件高度计算优化
|
|
50
|
-
>> gv.crud组件优化
|
|
51
|
-
|
|
52
|
-
> v0.2.8: 2026.06.02
|
|
53
|
-
>> table组件优化双击行事件
|
|
54
|
-
>> 优化浏览器warn信息
|
|
55
|
-
>> notify message 样式调整
|
|
56
|
-
>> 解决刷新网页的router警告
|
|
57
|
-
>> 统一将字体升级为14px
|
|
58
|
-
|
|
59
|
-
> v0.2.7: 2026.06.01
|
|
60
|
-
>> 优化Form表单赋值
|
|
61
|
-
>> 优化Dic字典赋值
|
|
62
|
-
>> 优化crud.save/update方法
|
|
63
|
-
|
|
64
|
-
> v0.2.6: 2026.05.31
|
|
65
|
-
>> 解决多语言form校验显示问题
|
|
66
|
-
>> 解决GvTable组件筛选框样式问题
|
|
67
|
-
|
|
68
|
-
> v0.2.5 : 2026.05.28
|
|
69
|
-
>> GvTable优化,action列按钮style优化
|
|
70
|
-
>> 解决edit form表选字典赋值问题
|
|
71
|
-
|
|
72
|
-
> v0.2.4 : 2026.05.23
|
|
73
|
-
>> 解决多语言显示问题
|
|
74
|
-
|
|
75
|
-
> v0.2.3 : 2026.05.23
|
|
76
|
-
>> GvForm优化,实现form隐藏动画
|
|
77
|
-
>> GvDrawer优化,解决footer button按钮快捷键显示兼容问题
|
|
78
|
-
|
|
79
|
-
> v0.2.1 : 2026.05.20
|
|
80
|
-
>> gv.crud 优化
|
|
81
|
-
|
|
82
|
-
> v0.2.0 : 2026.05.18
|
|
83
|
-
>> 优化列表分页组件
|
|
84
|
-
|
|
85
|
-
> v0.1.9 : 2026.05.14
|
|
86
|
-
>> 优化GvTable组件,优化table bar布局
|
|
87
|
-
>> 实现GvDrawer组件的footer btn布局
|
|
88
|
-
|
|
89
|
-
> v0.1.8 : 2026.05.11
|
|
90
|
-
>> 优化GvForm组件,实现Expand/Shrink功能
|
|
91
|
-
|
|
92
|
-
> v0.1.6 : 2026.04.30
|
|
93
|
-
>> 优化GvInputNumber组件,增加自定义class扩展功能.
|
|
94
|
-
|
|
95
|
-
> v0.1.5 : 2026.04.29.
|
|
96
|
-
>> 优化GvForm组件
|
|
97
|
-
|
|
98
|
-
> v0.1.4 : 2026.04.28.
|
|
99
|
-
>> 修改package index.ts,export导出的组件以component方式导出
|
|
100
|
-
|
|
101
|
-
> v0.1.3 : 2026.03.18.
|
|
102
|
-
>> 优化GvExpandMenu组件,解决i18n在web工程中无法翻译问题.
|
|
103
|
-
>> 优化package.json,lib库组件适配web工程.
|
|
104
|
-
|
|
105
|
-
> v0.1.0 : 2026.03.12
|
|
106
|
-
>> 解决打包lib库生成index.d.ts问题.
|
|
107
|
-
>> 优化打包上传npm内容。
|
|
108
|
-
|
|
109
|
-
> v0.0.7 : 2026.01.28
|
|
110
|
-
>> 优化GvTagsView组件,增加tabs的右键功能以及style样式修改
|
|
111
|
-
>> GvSvgIcon组件更改为GvIcon组件,支持iconfont、svg的icon处理,支持自定义class扩展
|
|
112
|
-
>> 实现GvExpandMenu组件的点击菜单功能
|
|
113
|
-
|
|
114
|
-
> v0.0.6 : 2025.08.08.
|
|
115
|
-
>> 新增left menus 组件,layout布局组件
|
|
116
|
-
>> 调整left menus 左侧栏布局样式
|
|
117
|
-
>> 调整header right item 样式
|
|
118
|
-
>> 新增GvTheme 主题切换组件.
|
|
119
|
-
>> 新增header right item - GvUserInfo组件
|
|
120
|
-
>> 新增GvExpandMenu & GvExpandList组件
|
|
121
|
-
>> 新增pinyin-pro组件
|
|
122
|
-
>> 新增GvGlobalSearch全局检索组件
|
|
123
|
-
|
|
124
|
-
---
|
|
125
|
-
|
|
126
|
-
> v0.0.5 : 2025.06.09.
|
|
127
|
-
>> pnpm add unocss -S 使用unocss样式.
|
|
128
|
-
>> pnpm add @unocss/transformer-variant-group -D UnoCSS语法扩展插件.
|
|
129
|
-
>> 新增 GvHamburger组件.
|
|
21
|
+
> v0.3.6: 2026.06.12
|
|
22
|
+
>> 新增GvAnchor锚点组件
|
|
23
|
+
>> 新增GvBodyDialog组件
|
|
130
24
|
|
|
131
25
|
---
|
|
132
26
|
|
|
133
|
-
> v0.
|
|
134
|
-
>>
|
|
135
|
-
>>
|
|
136
|
-
>> vite.config.js编译与打包优化.
|
|
137
|
-
>> pnpm add @vueuse/core -S 基于 Vue 3 的 组合式 API 工具库.
|
|
138
|
-
>> 新增style样式.
|
|
139
|
-
>> 新增GvConfigProvider组件,设置全局配置信息.
|
|
140
|
-
>> 新增axios封装组件.
|
|
141
|
-
>> 新增hooks/useCrud和hooks/useNotify.
|
|
27
|
+
> v0.3.5: 2026.06.10
|
|
28
|
+
>> 升级node版本为v24.18.0
|
|
29
|
+
>> 升级pnpm版本为v11.9.0
|
|
142
30
|
|
|
143
31
|
---
|
|
144
32
|
|
|
145
|
-
> v0.
|
|
146
|
-
>>
|
|
147
|
-
>> 引入国际化多语言i18n.
|
|
148
|
-
>> vite.config.js编译与打包优化.
|
|
33
|
+
> v0.3.4: 2026.06.09
|
|
34
|
+
>> 优化Form / Table id与name生成规则
|
|
149
35
|
|
|
150
36
|
---
|
|
151
37
|
|
|
152
|
-
> v0.
|
|
153
|
-
>>
|
|
154
|
-
|
|
155
|
-
---
|
|
156
|
-
|
|
157
|
-
> v0.0.1 : 2024.11.24
|
|
158
|
-
>> 使用 pnpm create vue@latest 脚手架创建工程
|
|
159
|
-
>> pnpm add sass-embedded -D 添加nodejs解析scss依赖
|
|
160
|
-
>> 在vite.config.ts中配置css解析
|
|
161
|
-
>> 定义目录结构,在@/assets/styles中,新增app.scss、main.scss、variables.scss样式表
|
|
162
|
-
>> pnpm add postcss -D 用JavaScript编写的工具转换CSS代码
|
|
163
|
-
>> pnpm add postcss-html -D 将html文件中的样式块中的CSS代码提取出来进行处理
|
|
164
|
-
>> pnpm add postcss-scss -D 将scss代码转换成CSS代码
|
|
165
|
-
>> pnpm add autoprefixer -D 自动添加CSS浏览器前缀的插件
|
|
166
|
-
>> pnpm add vite-plugin-progress -D Vite 构建工具的插件,提供构建进度条显示功能
|
|
167
|
-
>> pnpm add vite-plugin-eslint -D
|
|
168
|
-
>> pnpm add terser -D
|
|
38
|
+
> v0.3.3: 2026.06.09
|
|
39
|
+
>> 优化style
|
|
40
|
+
>> 优化lib后css压缩
|
|
169
41
|
|
|
170
42
|
## Exec
|
|
171
43
|
|