- Before starting the Storybook environment locally, install all the required dependencies. Run the command below to install the dependencies:
npm install --save-dev- Now, as you have all the
node_modulesinstalled in your project, you can start the Storybook environment. Run the command below to start it:
npm run storybook- This will start your local Storybook environment on port
6006by default.
