书栈网 · BookStack 本次搜索耗时 0.021 秒,为您找到 82 个相关结果.
  • Default Config

    Default Config Babel ES2016+ Support .babelrc support Webpack CSS Support Image and Static File Support JSON Loader NPM Modules Default Config Let’s learn about the def...
  • Writing Presets

    Writing Presets Presets API Babel Webpack Addons Entries Advanced Configuration Writing Presets Storybook presets are grouped collections of babel , webpack , and addons...
  • API

    API Core Addon API addons.getChannel() addons.register() addons.add() makeDecorator API Storybook hooks useStorybookState useStorybookApi useChannel useAddonState usePara...
  • Custom Babel Config

    Custom Babel Config Custom Babel Config By default, Storybook loads your root .babelrc file and load those configurations.But sometimes some of those options may cause Storybo...
  • Custom Webpack Config

    Custom Webpack Config Debug the default webpack config Webpack customisation modes Full Control Mode Extend Mode (Deprecated) Using Your Existing Config Custom Webpack Con...
  • Writing Stories

    Writing Stories Basic story Story file location Loading stories Decorators Parameters Searching Story hierarchy Generating nesting path based on __dirname Run multiple sto...
  • Options Parameter

    Options Parameter Global options Per-story options Options Parameter Storybook UI is configurable using an options API that allows you to tweak its appearance globally and fo...
  • Intro to Presets

    Intro to Presets Basic usage Preset configuration Go deeper Intro to Presets Storybook presets are grouped collections of babel , webpack , and addons configurations that ...
  • Frequently Asked Questions

    Frequently Asked Questions How can I run coverage tests with Create React App and leave out stories? I see ReferenceError: React is not defined when using storybooks with Next.js ...
  • Structural Testing

    Structural Testing What’s Snapshot Testing? Using StoryShots Structural Testing For React, Jest’s snapshot testing is the best way to do Structural Testing.It’s painless to ...