-
Copy
.storybook/
and its contents to the project root -
In the new project, update
.storybook/config.js
with the project name:addParameters(storybookOptions('project-name'));
-
Add the following packages to the project’s
package.json
:"devDependencies": { "@cityofboston/storybook-common": "^0.0.0", "@percy/storybook": "^3.0.2", "@storybook/addon-actions": "5.0.8", "@storybook/addon-storyshots": "5.0.8", "@storybook/addons": "5.0.8", "@storybook/react": "5.0.8",
-
Add the following scripts to the project’s
package.json
:"scripts": { "storybook": "start-storybook -p 9001 -s static", "prepare-deploy": "build-storybook -s static",
-
Notifications
You must be signed in to change notification settings - Fork 0
CityOfBoston/storybook-common
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published