New
Automatic visual tests in Storybook, plus 2.2x faster build times for React+TSVisual test with Chromatic
Star80,457
Back to integrations
Add your integration
Categories
  • ⭐️ Popular
  • 🧩 Essentials
  • 🛠 Code
  • ⚡️ Data & state
  • ✅ Test
  • 💅 Style
  • 🎨 Design
  • ⚙️ Appearance
  • 🗄 Organize
How to install addons Create an addon
storybook-reset-url-args
Reset url args
npm install storybook-reset-url-args
Last updated over 1 year ago
87
Downloads per week
Readme View on GitHub

storybook-reset-url-args

A storybook addon dump arguments to url and reloads the page

Installation

Install the following npm module:

npm i --save-dev storybook-reset-url-args

Then, add following content to .storybook/main.js

module.exports = {
  addons: ['storybook-reset-url-args']
};

When developing for a storybook, I had to manually remove all arguments in the url, for various reasons. If you have the same problem, welcome.

Join the community
6,319 developers and counting
WhyWhy StorybookComponent-driven UI
Open source software
Storybook

Maintained by
Chromatic
Special thanks to Netlify and CircleCI