From cc74b32603e7367fe1fa617ffae77bde6e3ee99d Mon Sep 17 00:00:00 2001 From: Jan Van Bruggen Date: Fri, 8 Sep 2017 14:26:38 -0700 Subject: [PATCH] Docs: Add missing NPM script section to Vue guide It seems that this necessary setup step didn't get copy-pasted over from the React guide (probably because it isn't a standalone section in the React guide). --- docs/pages/basics/guide-vue/index.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/pages/basics/guide-vue/index.md b/docs/pages/basics/guide-vue/index.md index 0c88a5a0be98..66935124dc9c 100644 --- a/docs/pages/basics/guide-vue/index.md +++ b/docs/pages/basics/guide-vue/index.md @@ -38,6 +38,18 @@ Make sure that you have `vue` in your dependencies as well because we list is as npm i --save vue ``` +## Create the NPM script + +Add the following NPM script to your `package.json` in order to start the storybook later in this guide: + +``` +{ + "scripts": { + "storybook": "start-storybook -p 9001 -c .storybook" + } +} +``` + ## Create the config file Storybook can be configured in several different ways.