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

vue2.7 + vue-loader15.10.0 中使用可选链运算符,在script setup的SFC中编译报错 #2022

Open
CODPHISH opened this issue Dec 12, 2022 · 0 comments

Comments

@CODPHISH
Copy link

在选项式api的SFC中则编译正常,在template和script中均可正常解析,但使用组合式api,在template和script中均会解析报错
File was processed with these loaders:

  • ./node_modules/ts-loader/index.js
  • ./node_modules/vue-loader/lib/index.js
    You may need an additional loader to handle the result of these loaders.
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