Skip to content
This repository has been archived by the owner on Mar 6, 2022. It is now read-only.

contiki9/seiretu

Repository files navigation

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>

storybook

<srt-row justify="center" align="center" nowrap margin="80px">
  <!-- slot  -->
</srt-row>
<srt-space class="ma-5">
  <!-- slot  -->
</srt-space>

use Property

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.