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

JSX class code not working #17

Open
nrudrawar opened this issue Aug 30, 2021 · 0 comments
Open

JSX class code not working #17

nrudrawar opened this issue Aug 30, 2021 · 0 comments

Comments

@nrudrawar
Copy link

nrudrawar commented Aug 30, 2021

Hello
JSX from the Core React Components class doesn't work, followed all the steps correctly. But the code with JSX doesn't work, I get the server running but only HTML is printed out. no CSS or logo etc is visible on the page.
I also got an error for index.html and it suggested to add type="module" to script tag

<script type="module" src="App.js"></script>

But doing that also it doesn't work

Update - looks like babel doesn't seem to be working in chrome on mac, as my code works in Safari but doesn't properly on chrome

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