diff --git a/docs/guide/custom-elements.md b/docs/guide/custom-elements.md index b87a1f5..6d6339a 100644 --- a/docs/guide/custom-elements.md +++ b/docs/guide/custom-elements.md @@ -10,7 +10,7 @@ In the example below, we define a custom element that uses a realm to render its ```ts import { attachRealm } from '@chialab/quantum'; -import { render, html } from 'uhtml'; +import { html, render } from 'uhtml'; export class MyElement extends HTMLComponent { readonly realm = attachRealm(this); diff --git a/docs/guide/usage.md b/docs/guide/usage.md index 28f9410..bbb86fe 100644 --- a/docs/guide/usage.md +++ b/docs/guide/usage.md @@ -42,7 +42,7 @@ At this time, you can use a generic view library to render the internal template ```js import { attachRealm } from '@chialab/quantum'; -import { render, html } from 'uhtml'; +import { html, render } from 'uhtml'; const root = document.createElement('div'); const realm = attachRealm(root); diff --git a/index.html b/index.html index 78b5bc0..8e0dd0b 100644 --- a/index.html +++ b/index.html @@ -1,4 +1,4 @@ - +
@@ -11,8 +11,8 @@