Skip to content

Next.js latest version starter template with Bun. Includes: App Router, Tailwind CSS, ESLint and Husky.

Notifications You must be signed in to change notification settings

dalessandro07/nextjs-basic-template

Repository files navigation

My nextjs-basic-template 🚀

With bun.sh, simple but extremely fast.

Includes:

  • Tailwind CSS - Utility-first CSS framework, you already know it.
  • Shadcn/ui - Beautiful designed components - open source.
  • ESLint - Find and fix problems in your code.
  • Husky - Git hooks made easy.

Use this template:

  1. Install bun.js locally:

    # Linux & macOS
    curl -fsSL https://bun.sh/install | bash
    
    # Windows
    powershell -c "irm bun.sh/install.ps1 | iex"
  2. Install dependencies.

    bun install
  3. Run the project.

    bun run dev

Project structure:

  • /src: Root source folder.
  • /src/app/(routes): Contains the app routes.
  • /src/core: Contains the layout and ui components, constants, types, lib, and the script to generate version from package.json.

Dependencies

Dev Dependencies:
"devDependencies": {
    "typescript": "^5",
    "@types/node": "^20",
    "@types/react": "^18",
    "@types/react-dom": "^18",
    "postcss": "^8",
    "tailwindcss": "^3.4.1",
    "eslint": "^8",
    "eslint-config-next": "15.0.0-rc.0"
  }
Runtime Dependencies
"dependencies": {
    "class-variance-authority": "^0.7.0",
    "clsx": "^2.1.1",
    "lucide-react": "^0.407.0",
    "next": "15.0.0-rc.0",
    "react": "19.0.0-rc-f994737d14-20240522",
    "react-dom": "19.0.0-rc-f994737d14-20240522",
    "tailwind-merge": "^2.4.0",
    "tailwindcss-animate": "^1.0.7"
  }

About

Next.js latest version starter template with Bun. Includes: App Router, Tailwind CSS, ESLint and Husky.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published