We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
16.4.1
github.com
Clone the reproduction repository, run npm i and npm run dev and then open http://localhost:8080/ while viewing the JavaScript console output.
npm i
npm run dev
http://localhost:8080/
The console.error() in vue/child.vue should never be executed because the if-condition before the await is always false.
console.error()
vue/child.vue
await
The console.error() is being executed when the if statement is written as a single-line (if-statement with curly brackets works though).
It's possible that it's actually an issue with babel / babel-loader or vue and not vue-loader.
babel
babel-loader
vue
vue-loader
The text was updated successfully, but these errors were encountered:
I removed all packages related to babel and eslint and the issue still persists.
Sorry, something went wrong.
I opened an issue on the vue-next repository since this probably isn't a issue of the loader itself: vuejs/core#4596
vue-next
No branches or pull requests
Version
16.4.1
Reproduction link
github.com
Steps to reproduce
Clone the reproduction repository, run
npm i
andnpm run dev
and then openhttp://localhost:8080/
while viewing the JavaScript console output.What is expected?
The
console.error()
invue/child.vue
should never be executed because the if-condition before theawait
is always false.What is actually happening?
The
console.error()
is being executed when the if statement is written as a single-line (if-statement with curly brackets works though).It's possible that it's actually an issue with
babel
/babel-loader
orvue
and notvue-loader
.The text was updated successfully, but these errors were encountered: