const {t} = ef

const App = t`
>button
	@click = handleClick
	.Click me!
`

const app = new App({
	$methods: {
		handleClick() {
			alert('Button clicked!')
		}
	}
})

app.$mount({target: document.body})

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. https://unpkg.com/ef.js