New
Storybook for full-stack developersAutomate with Chromatic
Star75,299
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 7 months ago
30
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
5,867 developers and counting
WhyWhy StorybookComponent-driven UI
Open source software
Storybook

Maintained by
Chromatic
Special thanks to Netlify and CircleCI