@rioseo/evo-ui
v0.0.4
Published
A collection of web components for Rio SEO
Downloads
6
Readme
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 evo
to the components name followed by a hyphen then name (ex: <evo-datepicker>
).
Using this component
Script tag
- Publish to NPM
- Put a script tag similar to this
<script src="https://unpkg.com/@rioseo/evo-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/evo-ui --save
- Put a script tag similar to this
<script src='node_modules/@rioseo/evo-ui'></script>
in the head of your index.html - Then you can use the element anywhere in your template, JSX, html etc