Skip to content

Aircity/vue-story

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Finally - official Storybook for Vue implementation! - check storybooks/storybook

⚠️ This project is no longer being maintained

Getting Started

npm install get-vue-story -g
cd ./story [your workspace]
npm init & npm install vue-story
vstory start

Story.js

import Story from "../vue-story"

Story("Vue")
  .add({
    name: "Web",
    link: "web.vue",
  })
  .add({
    name: "Story",
    link: "story.vue",
  })

Story("Story")
  .add({
    name: "Wont",
    link: "nope.vue",
  })
  .add({
    name: "Die",
    link: "die.vue",
  })

Options

  1. startup
vstory run [filename]
  1. equal to 'vstory run story.js'
vstory start
  1. port
vstory start -p 9000
  1. lib -- at global imports
 vstory start  -l [filename]

-- lib.js

import "jquery"
import "bootstrap"
vstory start -l lib.js

About

Seperate UI Environment for Vue. Inspired by react storybook

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published