glazk0 / nextjs-tailwindcss

A Next.js boilerplate that use Tailwindcss as CSS framework.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Next.js Tailwindcss Boilerplate

Clone the boilerplate

git clone https://github.com/glazk0/nextjs-tailwindcss.git your-app-name

Getting Started

First, install all dependancies:

npm install
# or
yarn

Then, run the development server:

npm run dev
# or
yarn dev

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

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

API routes can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in pages/api/hello.js.

The pages/api directory is mapped to /api/*. Files in this directory are treated as API routes instead of React pages.

About

A Next.js boilerplate that use Tailwindcss as CSS framework.

License:MIT License


Languages

Language:JavaScript 59.3%Language:TypeScript 33.0%Language:CSS 7.1%Language:Shell 0.6%