File tree Expand file tree Collapse file tree 1 file changed +18
-16
lines changed Expand file tree Collapse file tree 1 file changed +18
-16
lines changed Original file line number Diff line number Diff line change 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
198pnpm add -g @vue-macros/cli
209```
2110
11+ ## Usage
12+
2213### SG
14+
15+ Rewriting at Vue Macros.
16+
2317``` shell
2418vue-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
2933pnpm create vite my-vue-macros --template vue-ts
30-
3134cd my-vue-macros
32-
3335vue-macros init
3436```
3537
36- ## Licenase
38+ ## License
3739
3840MIT License © ; 2023-PRESENT [ zhiyuanzmj] ( https://github.com/zhiyuanzmj )
You can’t perform that action at this time.
0 commit comments