-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
bug creating react app #19103
Comments
If you want to scaffold a React application with TypeScript, you need to use |
I can't quite reproduce the issue. We're correctly using Can you provide a repro with the project? @yayidg22 |
Hello @yayidg22. Please provide a minimal reproduction using a GitHub repository or StackBlitz. Issues marked with |
Hello this is the StackBlitz |
I don't see any issue in the repro. It's rendering fine and there's no errors in the console. |
Describe the bug
the problem is this is a react (javascript) app if i rename the src/main.jsx to src/main.tsx works
Reproduction
no one
Steps to reproduce
$ yarn create vite my-react-app --template react
$ cd my-react-app
$ yarn install
$ yarn run dev
System Info
Used Package Manager
yarn
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: