Skip to content

Airnauts/nextjs-template

Repository files navigation

TypeScript  🪢   ESLint  🪢   Prettier  🪢   Husky  🪢   Lint-staged  🪢   Commitlint
Storybook  🪢   Next Sitemap  🪢   Bundle Analyzer  🪢   Plop Generator

This is a template for Next.js projects.
It contains all the necessary tools to start developing your application.

Usage

There are two methods to use this template in your project:

  • Click "Use this template" in GitHub repository page
  • Use this command in your terminal:
pnpm create next-app --example https://github.com/Airnauts/nextjs-template <YOUR_APP_NAME>

Documentation / Introduction

  1. Environment Variables
  2. Commit Message
  3. App Structure
  4. Components Generator
  5. Air Context

Scripts

# Start developing
dev

# Build production app
build

# Preview app (build and start)
preview

# Build, Start, Preview and Bundle Analyze development app
build:development
start:development
preview:development
analyze:development

# Develop, Build, Start, Preview and Bundle Analyze staging app
dev:staging
build:staging
start:staging
preview:staging
analyze:staging

# Develop, Build, Start, Preview and Bundle Analyze production app
dev:production
build:production
start:production
preview:production
analyze:production

# Create new component or context
pnpm generate

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published