It's deprecated
This function was merged into the original storybook (see storybookjs/storybook#2735). Use @storybook/angular
>= 3.4.0-alpha.5 😄
Functions to configure Storybook server which based Angular CLI project.
cd your-prj-angular-cli-created
npm install --save-dev `@storybook/cli`
./node_modules/.bin/getstorybook
npm install --save-dev `@quramy/storybook-angular-cli-helper`
/* .storybook/webpack.config.js */
const applyStorybookDefaultConfig = require('@storybook/angular/dist/server/config/defaults/webpack.config');
const { applyAngularCliConfig } = require('@quramy/storybook-angular-cli-helper');
module.exports = (baseConfig, env) =>
applyAngularCliConfig(applyStorybookDefaultConfig(baseConfig, env));
- Merge Angular CLI's webpack configuration
- Styles
- Load
*.component.css
- Load
*.component.scss
- Load global css
- Load
- Assets
- Styles
See https://github.com/Quramy/storybook-ng-css .
MIT. See LICENSE file under this repository.