yarn install
yarn storybook:serve
yarn build-bundle
The current implementation is not working with the latest version of Storybook.
If any component name contains just one word, it should be prefixed with "TwelveLabours". e.g Buttons => TwelveLaboursButton
- config - Configuration files for storybook
- src - contains assests, components and stories .
- assests - contains css stylesheets,images and icons used by the components
- components - Each folder in the component folder contains the source codes used for one component.
- [ComponentName]
- index.js - used for component registrations
- [ComponentName].stores.js and [ComponentName].stores.mdx - They are generally located in the stories directory but they can be here for configuring more complicated components on storybook
- src
- [ComponentName].vue - Actual implementation of the component
- [ComponentName].spec.js - Unit testings script
- [ComponentName]
- stories - most of the configurations of components display on the storybook goes here.
- [ComponentName]
- [ComponentName].stores.js and [ComponentName].stores.mdx - Layouts and configuration of each component display on the Storybook goes here.
- [ComponentName]
The main repository can be found here. All development should be done on a branch of a forked repository - the branch name should be meaningful. A pull request can be opened anytime against the main branch on the main repository but it should be marked as draft unless it is ready for review and merge.
Utlises Vue Test Utils and Jest.
Can be manually run with:
yarn test:unit