Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

install storybook angular

npx storybook init

# Update your angular.json with the following:
{
  "storybook": {
    "builder": "@storybook/angular:start-storybook",
    "options": {
      "browserTarget": "angular-cli:build",
      "port": 6006
    }
  },
  "build-storybook": {
    "builder": "@storybook/angular:build-storybook",
    "options": {
      "browserTarget": "angular-cli:build"
    }
  }
}
 
PREVIOUS NEXT
Tagged: #install #storybook #angular
ADD COMMENT
Topic
Name
3+5 =