A collection of web components for Nylas.
This is a pre-alpha version of Nylas web elements. It is not yet ready for production use.
-
Run
pnpm install
to install dependencies. -
Run
pnpm nx run @nylas/web-elements:start
to start the web elements server. -
Visit http://localhost:3333/ to see the web elements server (this has hot reloading enabled!).
Prefix all components with nylas-
. For example, nylas-scheduler
.
If you are getting errors like this:
SyntaxError: Unexpected token 'export'
You may need to add the 3rd party library to the esModules
array in the stencil.config.ts
file. For example:
const esmModules = ['d3-time'];