Skip to content

Commit

Permalink
load jsx with babel in browser
Browse files Browse the repository at this point in the history
  • Loading branch information
nayyaung9 committed Aug 31, 2021
1 parent f45b672 commit bf00386
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2,513 deletions.
3 changes: 2 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
</head>
<body>
<h1>Hello vdom</h1>
<script src="./index.js"></script>
<script src="https://unpkg.com/@babel/standalone/babel.min.js"></script>
<script type="text/babel" src="./index.js"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ const a = (
</ul>
);

console.log(a);
console.log(a);
23 changes: 0 additions & 23 deletions package.json

This file was deleted.

Loading

0 comments on commit bf00386

Please sign in to comment.