This is a template for a Next.js project with TypeScript, Tailwind CSS, and other useful libraries and configurations.
├── .github
│ └── workflows
│ └── deploy.yml
├── out
│ ├── _next
│ ├── index.html
│ └── ...
├── node_modules
├── pages
│ ├── _app.js
│ ├── index.js
│ └── ...
├── public
│ └── ...
├── styles
│ └── ...
├── next.config.js
├── package.json
├── tailwind.config.js
└── ...
Ensure you have the following installed:
- Node.js (v16 or higher)
- npm or yarn
-
Clone the repository:
git clone https://github.com/your-username/startup-nextjs-template.git cd startup-nextjs-template
-
Install dependencies:
npm install # or yarn install
To run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.
Run the following commands to export your Next.js app as a static site:
npm run build