@a-morphous/wanderer-plugin-preact
v1.0.0
Published
Make pages on your Wanderer website using JSX!
Readme
Wanderer Preact plugin
Make pages on your Wanderer website using JSX!
Usage
Install the plugin, then add it to your site's config.toml.
Make sure that htm and preact were also installed!
Now you can add pages using the .mjs extension that export by default a Preact component:
import { html } from "htm/preact"
export default Page = (props: PageProps) => {
return html`<h1>Hello World!</h1>`
}
