umoja-web-components

0.9.0 • Public • Published

Use an Umoja component

This is a general guide to using umoja components. Refer to a component’s README or other documentation for specific details.

To use a umoja component in your code:

  1. From your project folder, install the component from npm.
npm install umoja-web-components
# requires node 10 & npm 6 or higher
  1. Import the component.

All components:

import 'umoja-web-components';

You can import a single component with it's file path: Example:

import 'umoja-web-components/components/button/button].js';
  1. Add the component to your application or component:
<umoja-component></umoja-component>

Package Sidebar

Install

npm i umoja-web-components

Weekly Downloads

8

Version

0.9.0

License

MIT

Unpacked Size

32.8 kB

Total Files

18

Last publish

Collaborators

  • aesimpson16