Skip to content

docs: update README #202

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 21, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 23 additions & 13 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,27 @@ jobs:
matrix:
node-version: [16.x]

name: "Build: node-${{ matrix.node-version }}"
steps:
- uses: actions/checkout@v2
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 6
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- run: pnpm i
- run: pnpm build
# - run: yarn test
- name: Checkout
uses: actions/checkout@v2

- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 6

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'

- name: Install deps
run: pnpm i

- name: Build site
run: pnpm build

# - name: Test vue-devui
# run: yarn test
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
enable-pre-post-scripts=true
26 changes: 5 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,13 @@ DevUI 官方网站:[https://devui.design](https://devui.design)
### 1 安装依赖

```
yarn(推荐)

or

npm i
pnpm i
```

### 2 启动

```
yarn dev(推荐)

or

npm run dev
pnpm dev
```

### 3 访问
Expand All @@ -49,19 +41,15 @@ npm run dev
### 4 生产打包

```
yarn build(推荐)

or

npm run build
pnpm build
```

## 使用 Vue DevUI

### 1. 安装

```
yarn add vue-devui
pnpm i vue-devui
```

### 2. 全量引入
Expand Down Expand Up @@ -143,11 +131,7 @@ export default defineConfig({
#### 安装

```
yarn add @devui-design/icons(推荐)

or

npm i @devui-design/icons
pnpm i @devui-design/icons
```

#### 引入
Expand Down