mediawiki-extensions-Popups/.storybook/README.md
Timo Tijhof a3796a24ee Doc: Refer to Node versions without "v" prefix
As of Node.js version 8, upstream has consistently avoided this
to avoid confusion with V8, the JavaScript engine that power
Node.js and Chromium.

Change-Id: I702cee3247cc69ab4aac313176c884c9c2785ea9
2019-06-10 17:30:26 +01:00

19 lines
754 B
Markdown

# StoryPops - Storybook for Popups
This "mini-project" contains all the dependencies and code to run a
Storybook app (https://storybook.js.org/) for the Popups repository.
**Quickstart:**
`npm install && npm run start` visit http://localhost:6006
NOTE: This project requires a different version of Node then the main Popups project. NVM is recommended to manage these versions.
(`cd .storybook && nvm use`)
This project is configured to run separately from the main Popups project
because it requires at least Node 8.4, whereas Popups (currently)
runs Node 6 for consistency with C.I.
When the Popups Node version is upgraded, the Storybook dependencies
can be moved into the main Popups package.json file and the one in
this folder can be removed.