Skip to content
This repository has been archived by the owner on Dec 3, 2024. It is now read-only.

🏗️ The cure for headaches in development projects on Next.js with TypeScript and Storybook

License

Notifications You must be signed in to change notification settings

adlite/next-ts-storybook-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Next.js boilerplate with TypeScript and Storybook integration

Intro image

What’s Inside?

Environment

  • Node v14.x.x+
  • Npm v6.x.x+

Installing dependencies

To initialize project you should install dependencies from package-lock.json file via:

npm ci

Launch development version

To start Next development server:

npm run app:dev

Then open http://localhost:3000.

Launch Storybook development version

To start Storybook development server:

npm run storybook:dev

Then open http://localhost:3001.

Launch both

To start Next.js and Storybook in parallel:

npm run dev

Linters

You can inspect all you code in parallel running:

npm run linters:inspect

If it's possible you can inspect and autofix issues by linters running:

npm run linters:fix