A local development setup or boilerplate for Next.js with TypeScript and Tailwind CSS.
- Install Yarn.
- Clone the app:
git clone [email protected]:dominicarrojado/nextjs-typescript-tailwindcss-boilerplate.git
- Install dependencies:
cd nextjs-typescript-tailwindcss-boilerplate
yarn install
- Run the development server:
yarn dev
- Open http://localhost:3000 to view it in the browser.
yarn test
yarn test:watch
- Build and generate static files:
yarn build
yarn export
- The
out
directory can be served by any static hosting service or CDN.
Learn how to build this setup or boilerplate here.