Skip to content

Commit

Permalink
docs: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Orchardxyz committed Apr 27, 2024
1 parent 149a347 commit e52c6a3
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change Log

## [Unreleased]

### Changed

* Remove config watcher.

## [1.0.0] - 2024-04-20

### Added
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,14 @@ module.exports = defineConfig({

### Script

Before starting or building, add the `antd4tv gen` command to the scripts section in package.json.
Add the `antd4tv gen` command to the scripts section in package.json.

Like:
You can use it like:

```json
"scripts": {
"dev": "antd4tv gen && vite"
"antd4tv": "antd4tv gen",
"dev": "npm run antd4tv && vite"
}
```

Expand Down
3 changes: 2 additions & 1 deletion examples/antd4-vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "antd4tv gen && vite",
"antd4tv": "antd4tv gen",
"dev": "npm run antd4tv && vite",
"build": "tsc && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview"
Expand Down

0 comments on commit e52c6a3

Please sign in to comment.