preact-in-es3 icon indicating copy to clipboard operation
preact-in-es3 copied to clipboard

example looks broke

Open jaredatron opened this issue 6 years ago • 1 comments

it looks like the CDN expects exports to be defined.

image

jaredatron avatar Nov 07 '19 20:11 jaredatron

It seems like the html is missing, add this to make it work:

<!DOCTYPE html>
<html>
	<head>
		<title>Preact without Babel or JSX</title>
	</head>
	<body>
		<script src="https://unpkg.com/preact"></script>
		<script src="index.js"></script>
	</body>
</html>

mjarkk avatar Mar 03 '20 10:03 mjarkk