Whenn I run this index.hml, it gives error.
02 raw-react import need to be give '../../../public/react.js' bu your code from '/react.js'
Can you please advise for the
I run npm run stup
am i missing anything?
<html>
<body>
<div id="root"></div>
<script type="module">
import { createElement } from '../../../public/react.js'
import { createRoot } from '../../../public/react-dom/client.js'
const rootElement = document.getElementById('root')
const element = createElement(
'div',
{ className: 'container' },
'Hello World',
)
createRoot(rootElement).render(element)
</script>
<script type="module" src="epic_ws.js"></script>
</body>
</html>