web-component-starter-fast
TypeScript icon, indicating that this package has built-in type declarations

1.0.7 • Public • Published

Web Component Starter for Fast Element

Boilerplate project for building a web component using Microsoft's Fast framework. It is fully equipped with TypeScript and is ready to be published to NPM.

This is a framework agnostic component, however when using it in React - we recommended that you wrap it using a dedicated library to overcome some web component incompatibilities (read docs and tests). See example.

🚀 Setup commands

npm install

Installs node dependencies.

npm run build

Builds the component.

npm run build:watch

Used to automatically rebuild the component as soon as any changes are made to the code.

npm run serve

Serves the component locally (from index.html).

👷 Other commands

npm run build:bundle

Bundles the component into a single file (to dist/web-component-starter-fast.bundle.js). This is great for serving the component via a CDN, such as UPKG (example).

npm run analyze

Builds a custom elements manifest (custom-elements.json) which can be used by assistive tools to benefit the custom element development experience.

📚 More information

You can find out more information on how to build a Fast element here.

💛 Contributions

Open source is built by the community for the community. All contributions to this project are welcome!
Additionally, if you have any suggestions for enhancements, ideas on how to take the project further or have discovered a bug, do not hesitate to create a new issue ticket and we will look into it as soon as possible!

Package Sidebar

Install

npm i web-component-starter-fast

Weekly Downloads

1

Version

1.0.7

License

ISO

Unpacked Size

35.5 kB

Total Files

12

Last publish

Collaborators

  • ovidijusparsiunas