Created
August 21, 2021 05:34
-
-
Save ducksoupdev/0d00219e219cb7668e86f8d85728a6f6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { h } from '@ficusjs/renderers/jsx-dom' | |
import { createCustomElement } from 'ficusjs/custom-element' | |
createCustomElement('hello-world', { | |
render () { | |
return html` | |
<p>Hello world!</p> | |
` | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment