JSFiddle - React, Tailwind, and code Playground

by Josh Pullen

HTML

<script src="https://cdn.tailwindcss.com"></script>

JavaScript

import { html, render } from "https://unpkg.com/htm/preact/standalone.module.js";

function App() {
	return html`<a href="/">Hello!</a>`;
}

render(html`<${App} />`, document.body);