Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

转换后会把js的分号全部去掉 #41

Closed
kstd123 opened this issue Jul 13, 2021 · 1 comment
Closed

转换后会把js的分号全部去掉 #41

kstd123 opened this issue Jul 13, 2021 · 1 comment

Comments

@kstd123
Copy link

kstd123 commented Jul 13, 2021

https://play.gogocode.io/
playground展示的也是会去掉分号,这个能配置么。

@shuerguo999
Copy link
Contributor

如果是使用gogocodoe进行vue升级,需要升级最新的gogocode-cli,增加参数format就可以gogocode -s src -o src -t gogocode-plugin-vue -p format=false
如果是直接使用gogocode,generate()不传prettier就不会去掉分号,另外要注意replace第二参也需要加上分号

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants