This webcomponent follows the open-wc recommendation.
working DEMO
yarn i ruhil-ui
<script type="module">
import 'ruhil-ui/ruhil-ui.js';
</script>
<ruhil-ui></ruhil-ui>
To scan the project for linting and formatting errors, run
yarn run lint
To automatically fix linting and formatting errors, run
yarn run format
To execute a single test run:
yarn run test
To run the tests in interactive watch mode run:
yarn run test:watch
To run a local instance of Storybook for your component, run
yarn run sb
To build a production version of Storybook, run
yarn run sb:build
For most of the tools, the configuration is in the package.json
to reduce the amount of files in your project.
If you customize the configuration a lot, you can consider moving them to individual files.
yarn start
To run a local development server that serves the basic demo located in demo/index.html