Skip to content

Quick tutorial and template for NextJS, Storybook and Tailwind CSS

Notifications You must be signed in to change notification settings

Repped-In-Tech/codesnax-live-next-js-storybook

Repository files navigation

CodeSnax Live - NextJS and Storybook

codesnax-show

Get Started

Run the Storybook:

npm run storybook

Run the App:

npm run dev

NOTE: Always remember to stop your server when you're done using CTRL+C on Mac or ALT + C on windows

Manual Installation Instructions

Deploy Your Storybook using Netlify

  1. Navigate to https://netlify.com
  2. Create an account using your GitHub account if you do not have one
  3. Click "ADD NEW SITE" and select "Import an existing project"
  4. Select "Github" and authorize if needed
  5. Navigate to your account and select the repo with the Storybook
  6. Let's update a few settings...
  • Update Build Command: npm run build-storybook
  • Change the Publish Directory: storybook-static
  1. Press "Deploy Site" and wait... (you can watch the logs if you like)
  2. Change the default name of the site if you'd like.
  3. Navigate to the URL!

About

Quick tutorial and template for NextJS, Storybook and Tailwind CSS

Resources

Stars

Watchers

Forks