0.0.3 • Published 5 years ago

@rioseo/rio-ui v0.0.3

Weekly downloads
1
License
-
Repository
github
Last release
5 years ago

Rio UI Components

This is a project for Rio's UI Web Components.

Getting Started

To start building a new web component using Stencil, clone this repo to a new directory:

and run:

npm install
npm start

To build the component for production, run:

npm run build

To run the unit tests for the components, run:

npm test

Naming Components

When creating new component tags, prefix rio to the components name followed by a hyphen then name (ex: <rio-datepicker>).

Using this component

Script tag

  • Publish to NPM
  • Put a script tag similar to this <script src="https://unpkg.com/@rioseo/rio-ui"></script> in the head of your index.html
  • Then you can use the element anywhere in your template, JSX, html etc

Node Modules

  • Run npm install @rioseo/rio-ui --save
  • Put a script tag similar to this <script src='node_modules/@rioseo/rio-ui'></script> in the head of your index.html
  • Then you can use the element anywhere in your template, JSX, html etc
0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago