storybook-reset-url-args

Reset url args

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.

Made by
  • melrose1
    melrose1
Work with
    Angular
    Ember
    HTML
    React
    Svelte
    Vue
    Web Components
Tags