@vue-macros/cli
v1.2.1
Published
Rewriting at vue macros powered by ast-grep.
Downloads
49
Readme
@vue-macros/cli
@vue-macros/cli is a CLI for rewriting at Vue Macros powered by ast-grep.
Installation
# install
pnpm add -g @vue-macros/cli
Usage
SG
Rewriting at Vue Macros.
vue-macros sg
supported macros:
- [x] jsx-directive
- [x] define-render
- [x] export-render
- [x] define-slots
- [x] short-vmodel
- [x] setup-sfc
Initialization
pnpm create vite my-vue-macros --template vue-ts
cd my-vue-macros
vue-macros init
License
MIT License © 2023-PRESENT zhiyuanzmj