nextjs-typescript-tailwindcss-starter
A simple starter kit for Next.js, TypeScript, and Tailwind CSS with Jest, Enzyme, and Storybook.
Next.js is a minimalistic framework for server-rendered React applications.
TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.
Tailwind.css is a utility-first CSS framework for rapidly building custom user interfaces.
Jest is a library for testing JavaScript code.
Enzyme is a JavaScript Testing utility for React that makes it easier to test your React Components' output.
Storybook is a UI development environment and playground for UI components.
Getting Started
git clone https://github.com/gojutin/nextjs-typescript-tailwindcss-starter.git
yarn
or npm i
yarn run dev
or npm run dev
to start the development server.
yarn run test
or npm run test
to run tests.
yarn run test:watch
or npm run test:watch
to run tests in watch mode.
yarn run test:coverage
or npm run test:coverage
to run coverage report.
yarn run build
or npm run build
to generate production build.
yarn run start
or npm run start
to start development server with production build. (Requires build command first)
yarn run storybook
to start Storybook.