Storybook for Vue component libary for rapid development.
This component library utilizes the following dependecies.
- Match your node version to the version defined in .nvmrc
- Install yarn, or if already install skip to the below
- Run
yarn
to install all dependencies - Run
yarn storybook
to get a local storybook instance running - Run
yarn build
to get your build underlib
which can be used for publishing a npm pacakge
- Please review the peer dependecies in the
package.json
file. These will be necessary dependecies if you wish to utilize the component library as an npm module. - It's possible to build your app around this repo in a mono repo paradiagm. If restructuring the folders/files make sure to update any dependcy paths.
- You will need to provide a theme in your application which the components will consume. Use
.storybook/preview.js
as an example for how to utlize the theme filesrc/theme/index.js
in your app.