Skip to content

Next.js TailwindCSS Starter. Next App Router, Redux Toolkit, RTK, Formik, TailwindCSS

Notifications You must be signed in to change notification settings

prosany/NextTailwindCSS-Starter

Repository files navigation

Next.js TailwindCSS Starter

You can clone and use the template.

Getting Started

Before doing anything, make sure you have Node.js installed on your machine. Node.js v18 or later is required.

Clone the application

To clone the template from GitHub, open any terminal and run this:

git clone https://github.com/prosany/NextTailwindCSS-Starter.git

Setup the environment

Rename .env.example to .env and update the fields:

NEXT_PUBLIC_API_URL=
NEXT_FILE_UPLOAD_URL=
NEXT_PUBLIC_ENVIRONMENT=

Install app dependencies

To install all the packages, simply run:

# using npm
npm install

# using yarn
yarn install

# using pnpm
pnpm install

Great news! I guess you have successfully installed all the app dependencies.

Run the application

To run the app, you can use:

# using npm
npm run dev

# using yarn
yarn dev

# using pnpm
pnpm dev