Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 837 Bytes

README.md

File metadata and controls

28 lines (18 loc) · 837 Bytes

Storybook Vue Demo

This is a demo app to test VueJs integration with Storybook.

  1. git clone ...

  2. 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
    
  3. Install yarn globally (npm install -g -dd yarn)

  4. Install the storybook CLI globally (npm i -g @storybook/cli)

  5. Install dependencies (yarn install, it uses same repositories as npm)

  6. Run the dev storybook server (yarn storybook)

  7. Build for storybook production (yarn build-storybook)

  8. Run dev App (yarn dev)

  9. Build for production App (yarn build)

Written with StackEdit.