README
Wu Components
A web components library built with Stenciljs
Getting Started
git clone https://github.com/seanwuapps/wu-components wu-components
cd wu-components
git remote rm origin
and run:
npm install
npm start
Using a component
Script tag
(Coming soon)
- Put
<script src='https://unpkg.com/wu-component@latest/dist/wu-component.js'></script>
inside your<head>
tag - Then you can use the element anywhere in your template, JSX, html etc
Node Modules
(Coming soon)
- Run
npm install wu-component --save
- Put
<script src='node_modules/wu-component/dist/wu-component.js'></script>
in the head of your index.html - Then you can use the element anywhere in your template, JSX, html etc
Integrate with a framework
Credits
Star icon: Created by Magicon from the Noun Project