You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
navigation to src/components/HelloWorld.vue, change lang on script section to "tsx"
attempt to use jsx
What is expected?
JSX is usable with vue-cli v3 beta. The JSX in the render method will replace the template section in the .vue file and render "Hello World" to the page.
What is actually happening?
The application fails to compile with message: "Failed to compile with 1 errors
Failed to resolve loader: tsx-loader
You may need to install it."
I was porting an existing project over to the cli and once I started moving in files with TSX compilation broke.
The text was updated successfully, but these errors were encountered:
Version
3.0.0-beta.6
Reproduction link
https://github.com/dombavetta/vue-cli-tsx-test
Steps to reproduce
From the cli:
What is expected?
JSX is usable with vue-cli v3 beta. The JSX in the render method will replace the template section in the .vue file and render "Hello World" to the page.
What is actually happening?
The application fails to compile with message: "Failed to compile with 1 errors
Failed to resolve loader: tsx-loader
You may need to install it."
I was porting an existing project over to the cli and once I started moving in files with TSX compilation broke.
The text was updated successfully, but these errors were encountered: