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

SyntaxError: Invalid or unexpected token #166

Open
MoreHiar opened this issue May 5, 2023 · 1 comment
Open

SyntaxError: Invalid or unexpected token #166

MoreHiar opened this issue May 5, 2023 · 1 comment

Comments

@MoreHiar
Copy link

MoreHiar commented May 5, 2023

引入之后,在控制器目录下使用@,显示报错,同时按npm官网引入.babelrc文件,依然无法解决

@MoreHiar
Copy link
Author

MoreHiar commented May 5, 2023

使用的是const require导入的语法

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

1 participant