This includes sample widgets widget-a and widget-b. The documentations and examples (for development) live in the files widget-a.html and widget-b.html.
Both files contain code to load the respective widget and render it.
- Run
pnpm i - Run
pnpm devto see the widgets live-reloading (it opens a browser at thewidget-a) - Build with
pnpm build - Preview the build documentation with
pnpm preview(also opens) - Run
pnpm devand visit/test-widget-a.htmlto see a host page that embedswidget-a(only works after building)