mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 15:31:16 +08:00
The builder allows to add a "architect" in angular.json to start storybook config ex : ``` "storybook": { "builder": "@storybook/angular:start-storybook", "options": { "browserTarget": "angular-cli:build", "port": 4400 } ``` cmd : `ng run angular-cli:storybook` With this solution it is possible to have several angular projects using different assets and style
Storybook for Angular
Storybook for Angular is a UI development environment for your Angular components. With it, you can visualize different states of your UI components and develop them interactively.
Storybook runs outside of your app. So you can develop UI components in isolation without worrying about app specific dependencies and requirements.
Getting Started
cd my-angular-app
npx sb init
For more information visit: storybook.js.org
Storybook also comes with a lot of addons and a great API to customize as you wish. You can also build a static version of your storybook and deploy it anywhere you want.