A boilerplate to set up a project with Next.js and Tailwind CSS
- Make sure that you have Node.js v8.15.1 and npm v5 or above installed.
- Clone this repository using
git clone https://github.com/tlehwalder/next-boilerplate.git <YOUR_PROJECT_NAME>
- Switch into the directory:
cd <YOUR_PROJECT_NAME>
. - Run
yarn
to install dependencies.
Now you can runyarn dev
to see the example app athttp://localhost:3000
.
Now you're Next.js project with Tailwind CSS is ready!