This is a demo app to test VueJs integration with Storybook.
-
git clone ...
-
Install and upgrade nodejs
apt-get install nodejs-legacy npm curl -o- https://raw.githubusercontent.com/creationix/n~/.profilevm/v0.33.2/install.sh | bash gedit ~/.profile export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" nvm run node --version
-
Install yarn globally (
npm install -g -dd yarn
) -
Install the storybook CLI globally (
npm i -g @storybook/cli
) -
Install dependencies (
yarn install
, it uses same repositories as npm) -
Run the dev storybook server (
yarn storybook
) -
Build for storybook production (
yarn build-storybook
) -
Run dev App (
yarn dev
) -
Build for production App (
yarn build
)
Written with StackEdit.