- Copy this template to your github account
- Install dependencies
npm i
npm run storybook
- Navigate to http://localhost:6006/
npm run dev
- Navigate to http://localhost:3000/
NOTE: Always remember to stop your server when you're done using CTRL+C on Mac or ALT + C on windows
- Navigate to https://netlify.com
- Create an account using your GitHub account if you do not have one
- Click "ADD NEW SITE" and select "Import an existing project"
- Select "Github" and authorize if needed
- Navigate to your account and select the repo with the Storybook
- Let's update a few settings...
- Update Build Command:
npm run build-storybook
- Change the Publish Directory:
storybook-static
- Press "Deploy Site" and wait... (you can watch the logs if you like)
- Change the default name of the site if you'd like.
- Navigate to the URL!