Create A Widget
Steps
- To start a new workspace, copy
package.jsonandtsconfig.jsonfromexamples/into the workspace root, then runnpm install.xo.config.jsandxoinpackage.jsonare optional. - Implement
widgetwith components imported fromawait. - Register it with
Await.define. - Check runtime declarations before using unfamiliar components, attributes, or bridge APIs.
- Run
npm test.