Skip to content

ts1994tw/nextjs-prototype-builder

Repository files navigation

Next.js prototype builder

Awesome Next.js prototype builder

Demo

Storybook demo

features

  • Next.js 12
  • TailwindCSS
  • Atomic design project structure
  • Storybook
  • Absolute import
  • Hygen as code generator
  • Eslint, Prettier
  • Husky, lint-staged pre-commit hook

Commands

Start local dev server

yarn dev

Open http://localhost:3000 with your browser to see the result.

Start Storybook component dev environment

yarn storybook

This command will open http://localhost:6006 for you, this is where you can see storybook

Generate new component scaffold

yarn new-component

This calls hygen to generate new component with basic file structures, including its JS file and stories.js file

You will be prompted to select component type (atoms, molecules, organisms, templates), and then input component name

nextjs-prototype-builder

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published