1

does anyone know how to set up a different base URL for storybook? when you run "npm run storybook" it opens up on http://localhost:6006/, how can i get it to open up on http://localhost:6006/storybook/?

1 Answers1

0

Long story short, it's not compatible with the ports' convention(s). The ports that host the running of your application(s) are reserved for one app at a time, and they take the route(s) from application's router rather than opening it up on a custom base like http://localhost:6006/storybook/?.

Nikhil K Mannem
  • 41
  • 1
  • 1
  • 14