-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
<script lang="coffee" setup> not work #4871
Comments
Hi , I searched google and i think you should install the vue coffee plugin:
my reference is for vue-cli 3 but i guess it also works on vue3 |
I already add coffeescript loader
it works but |
This is by design. |
why not convert coffee to js first , then analyze the AST ? |
Because the AST analysis works at source level, not generated-code level. This is required to analyze TS types. I do not recommend using coffeescript with Vue 3 anyway, there's little benefit. |
Version
3.2.20
Reproduction link
gitee.com
Steps to reproduce
yarn
yarn dev
code
What is expected?
work
What is actually happening?
The text was updated successfully, but these errors were encountered: