1.0.2-prealpha1 • Published 2 days ago

@nylas/web-elements v1.0.2-prealpha1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 days ago

Nylas Web Elements

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.

Requirements

Getting Started

  1. Run pnpm install to install dependencies.

  2. Run pnpm nx run @nylas/web-elements:start to start the web elements server.

  3. Visit http://localhost:3333/ to see the web elements server (this has hot reloading enabled!).

Naming Components

Prefix all components with nylas-. For example, nylas-scheduler.

Good to know

Style guide for Stencil components

Getting errors with Jest regarding invalid imports of 3rd party libraries?

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'];