File tree 1 file changed +18
-16
lines changed
1 file changed +18
-16
lines changed Original file line number Diff line number Diff line change 2
2
3
3
@vue-macros/cli is a CLI for rewriting at Vue Macros powered by [ ast-grep] ( https://github.com/ast-grep/ast-grep ) .
4
4
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
17
6
``` shell
18
7
# install
19
8
pnpm add -g @vue-macros/cli
20
9
```
21
10
11
+ ## Usage
12
+
22
13
### SG
14
+
15
+ Rewriting at Vue Macros.
16
+
23
17
``` shell
24
18
vue-macros sg
25
19
```
26
20
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
+
28
32
``` shell
29
33
pnpm create vite my-vue-macros --template vue-ts
30
-
31
34
cd my-vue-macros
32
-
33
35
vue-macros init
34
36
```
35
37
36
- ## Licenase
38
+ ## License
37
39
38
40
MIT License © ; 2023-PRESENT [ zhiyuanzmj] ( https://github.com/zhiyuanzmj )
You can’t perform that action at this time.
0 commit comments