-
Notifications
You must be signed in to change notification settings - Fork 1
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
vue template 部分代码转换格式出错 #1
Comments
我是用正则替换的问题有点多,后期我准备参考这个改造
|
感谢大佬指路。 目前写的node脚本里面也是正则思路实现提取中文的。 ast也是另一个不错的思路。 |
https://github.com/wu529778790/i18n-automatically 可以看看我们这个用了ast解析的,支持vue/js/jsx/ts/tsx |
代码转换后 再次运行出现error 。 转换部分为 vue sfc 里的jsx部分
The text was updated successfully, but these errors were encountered: