/nextjs-tailwind-starter-ts

NextJS tailwind CSS starter with typescript

Primary LanguageJavaScript

This is a Next.js project bootstrapped TailwindCSS and Typescript.

Getting Started

Copy this starter

git clone https://github.com/dipankarmaikap/Nextjs-tailwind-starter-TS.git project-name && cd project-name && git remote remove origin

Install all packages

npm install

Run the development server:

npm run dev

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.

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

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