Skip to content

Latest commit

 

History

History
67 lines (34 loc) · 3.96 KB

nx-storybook-plugin.md

File metadata and controls

67 lines (34 loc) · 3.96 KB

⬅️  README

Nx Storybook Plugin

Commands

  • run: nx run {project name}:storybook

  • build: nx run {project name}:build-storybook

  • print affected: nx print-affected --target=build-storybook

Useful references

Known issues

Import path from other libraries

reported: [GitHub] nrwl/nx - React storybook: issue importing from other libraries #2320

fixed: [GitHub] nrwl/nx - fix(storybook): properly resolve TS paths in storybook webpack config #3032

requires: [npm] tsconfig-paths-webpack-plugin

changes needed based on the @nrwl/storybook plugin - library schematic configuration:

Note: it's possible to define it on the <root>/.storybook/webpack.config.js