Skip to content

Commit c1cacf6

Browse files
committed
docs: up readme
1 parent a2559c1 commit c1cacf6

File tree

1 file changed

+18
-16
lines changed

1 file changed

+18
-16
lines changed

Diff for: README.md

+18-16
Original file line numberDiff line numberDiff line change
@@ -2,37 +2,39 @@
22

33
@vue-macros/cli is a CLI for rewriting at Vue Macros powered by [ast-grep](https://github.com/ast-grep/ast-grep).
44

5-
## Support vue macros
6-
7-
- [x] jsx-directive
8-
- [x] define-render
9-
- [x] export-render
10-
- [x] define-slots
11-
- [x] short-vmodel
12-
- [x] setup-sfc
13-
14-
15-
## Usage
16-
5+
## Installation
176
```shell
187
# install
198
pnpm add -g @vue-macros/cli
209
```
2110

11+
## Usage
12+
2213
### SG
14+
15+
Rewriting at Vue Macros.
16+
2317
```shell
2418
vue-macros sg
2519
```
2620

27-
### Init
21+
supported vue macros:
22+
23+
- [x] jsx-directive
24+
- [x] define-render
25+
- [x] export-render
26+
- [x] define-slots
27+
- [x] short-vmodel
28+
- [x] setup-sfc
29+
30+
### Initialization
31+
2832
```shell
2933
pnpm create vite my-vue-macros --template vue-ts
30-
3134
cd my-vue-macros
32-
3335
vue-macros init
3436
```
3537

36-
## Licenase
38+
## License
3739

3840
MIT License © 2023-PRESENT [zhiyuanzmj](https://github.com/zhiyuanzmj)

0 commit comments

Comments
 (0)