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

在vue单页面文件的js里好像不能使用 #50

Open
william-xue opened this issue Sep 22, 2023 · 4 comments
Open

在vue单页面文件的js里好像不能使用 #50

william-xue opened this issue Sep 22, 2023 · 4 comments

Comments

@william-xue
Copy link

No description provided.

@william-xue
Copy link
Author

你这个是不是必须babel7 6的好像不行

@JuniorTour
Copy link
Owner

你这个是不是必须babel7 6的好像不行

是的,这个库是基于banel@7开发的,如果你用的还是6,那确实无法使用。

可以考虑升级到7,成本不高的。

@william-xue
Copy link
Author

我们公司很多代码都是babel6的,然后用升级到7后 用官方的插件也不行 好奇怪

@william-xue
Copy link
Author

@babel/plugin-proposal-optional-chaining 这个弄上去上来就报错

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