Skip to content

Projeto do curso de https://reactavancado.com.br com NextJS, TypeScript, Storybook e Styled-Components

Notifications You must be signed in to change notification settings

adeonirlabs/wongames-web

Repository files navigation

NextJS Boilerplate


This is a Next.js boilerplate to be used in the course React Avançado.

What is inside?

Getting Started

You can use this as a boilerplate:

npx create-next-app -e https://github.com/adeonir/nextjs-boilerplate new-project

# or

yarn create next-app -e https://github.com/adeonir/nextjs-boilerplate new-project

Then, run the development server:

yarn start

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

You can start editing the page by modifying src/pages/index.tsx. The page auto-updates as you edit the file.

Commands

  • start: runs your application on localhost:3000
  • build: creates the production build version
  • serve: starts a simple server with the build production code
  • lint: runs the linter in all components and pages
  • test: runs jest to test all components and pages
  • test:watch: runs jest in watch mode
  • generate: runs plop to generate component files
  • storybook: runs storybook on localhost:6006
  • storybook:build: create the build version of storybook

Made with ♥️ by Adeonir Kohl