seiretu
v0.0.4
Published
WebComponent for layout
Downloads
1
Readme
seiretu
seiretu is a WebComponent that makes it easy to adjust the layout.
seiretu is based on flex box.
Using this component
<script type="module" src="//cdn.jsdelivr.net/gh/contiki9/seiretu/www/build/seiretu.esm.js"></script>
<script nomodule src="//cdn.jsdelivr.net/gh/contiki9/seiretu/www/build/seiretu.js"></script>
<srt-row justify="center" align="center" nowrap space="80px">
<!-- slot -->
</srt-row>
<srt-space class="ma-5">
<!-- slot -->
</srt-space>
develop
git clone https://github.com/contiki9/seiretu.git seiretu
cd seiretu
git remote rm origin
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
To run storybook:
npm run storybook
To build storybook to github-pages:
npm run deploy
Need help? Check out our docs here.