@redoxengine/redox-ui
v0.4.0
Published
Shared user interface components for use in Redox projects
Downloads
38
Maintainers
Keywords
Readme
Redox User Interface Components
Forked from: https://github.com/ionic-team/stencil-component-starter
Getting Started
git clone https://github.com/100health/redox-ui.git redox-ui
cd redox-ui
and run:
npm install
npm start
To watch for file changes during develop, run:
npm run dev
To build the component for production, run:
npm run build
To run the unit tests for the components, run:
npm test
Need help? Check out the Stencil docs here.
Using these components
Script tag
- Publish to NPM
- Put a script tag similar to this
<script src='https://unpkg.com/@redoxengine/redox-ui/dist/redox-ui.js'></script>
in the head of your index.html (or<script src='https://unpkg.com/@redoxengine/[email protected]/dist/redox-ui.js'></script>
if you want a specific version). - Then you can use the elements anywhere in your template, JSX, html etc
Node Modules
- Run
npm install @redoxengine/redox-ui --save
- Put a script tag similar to this
<script src='node_modules/@redoxengine/redox-ui/dist/redox-ui.js'></script>
in the head of your index.html - Then you can use the elements anywhere in your template, JSX, html etc