File tree 3 files changed +29
-34
lines changed
3 files changed +29
-34
lines changed Original file line number Diff line number Diff line change @@ -15,17 +15,27 @@ jobs:
15
15
matrix :
16
16
node-version : [16.x]
17
17
18
+ name : " Build: node-${{ matrix.node-version }}"
18
19
steps :
19
- - uses : actions/checkout@v2
20
- - name : Install pnpm
21
- uses : pnpm/action-setup@v2
22
- with :
23
- version : 6
24
- - name : Use Node.js ${{ matrix.node-version }}
25
- uses : actions/setup-node@v2
26
- with :
27
- node-version : ${{ matrix.node-version }}
28
- cache : ' pnpm'
29
- - run : pnpm i
30
- - run : pnpm build
31
- # - run: yarn test
20
+ - name : Checkout
21
+ uses : actions/checkout@v2
22
+
23
+ - name : Install pnpm
24
+ uses : pnpm/action-setup@v2
25
+ with :
26
+ version : 6
27
+
28
+ - name : Use Node.js ${{ matrix.node-version }}
29
+ uses : actions/setup-node@v2
30
+ with :
31
+ node-version : ${{ matrix.node-version }}
32
+ cache : ' pnpm'
33
+
34
+ - name : Install deps
35
+ run : pnpm i
36
+
37
+ - name : Build site
38
+ run : pnpm build
39
+
40
+ # - name: Test vue-devui
41
+ # run: yarn test
Original file line number Diff line number Diff line change
1
+ enable-pre-post-scripts = true
Original file line number Diff line number Diff line change @@ -25,21 +25,13 @@ DevUI 官方网站:[https://devui.design](https://devui.design)
25
25
### 1 安装依赖
26
26
27
27
```
28
- yarn(推荐)
29
-
30
- or
31
-
32
- npm i
28
+ pnpm i
33
29
```
34
30
35
31
### 2 启动
36
32
37
33
```
38
- yarn dev(推荐)
39
-
40
- or
41
-
42
- npm run dev
34
+ pnpm dev
43
35
```
44
36
45
37
### 3 访问
@@ -49,19 +41,15 @@ npm run dev
49
41
### 4 生产打包
50
42
51
43
```
52
- yarn build(推荐)
53
-
54
- or
55
-
56
- npm run build
44
+ pnpm build
57
45
```
58
46
59
47
## 使用 Vue DevUI
60
48
61
49
### 1. 安装
62
50
63
51
```
64
- yarn add vue-devui
52
+ pnpm i vue-devui
65
53
```
66
54
67
55
### 2. 全量引入
@@ -143,11 +131,7 @@ export default defineConfig({
143
131
#### 安装
144
132
145
133
```
146
- yarn add @devui-design/icons(推荐)
147
-
148
- or
149
-
150
- npm i @devui-design/icons
134
+ pnpm i @devui-design/icons
151
135
```
152
136
153
137
#### 引入
You can’t perform that action at this time.
0 commit comments