Skip to content

hHolyMolly/next-template

Repository files navigation

📌 Next Template


🚀 Installation and Launch

1. Installing PNPM 📦

Before starting development, install PNPM:

npm install -g pnpm

2. Installing Dependencies ⚙️

With PNPM:

pnpm install

Alternatively, with NPM:

npm install

3. Running in Development Mode 🖥️

With PNPM:

pnpm dev

Alternatively, with NPM:

npm run dev

4. Build for Production 🛠️

With PNPM:

pnpm build

Alternatively, with NPM:

npm run build

5. Start Production Server 🚀

⚠️ Requires a successful build step beforehand.

With PNPM:

pnpm start

Alternatively, with NPM:

npm run start

6. Linting and Formatting ✨

Check code with ESLint:

With PNPM:

pnpm lint

Alternatively, with NPM:

npm run lint

Fix linting issues automatically:

With PNPM:

pnpm lint:fix

Alternatively, with NPM:

npm run lint:fix

Format code with Prettier:

With PNPM:

pnpm format

Alternatively, with NPM:

npm run format

7. Cleaning the Project 🧹

Removes node_modules, dist, and lock files:

With PNPM:

pnpm clean

Alternatively, with NPM:

npm run clean

About

A starter template for developing applications with Next.js.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published