next-js-14-app-router-starter-template
v0.1.1
Published
Welcome to the Next.js starter template! This template is designed to provide a solid foundation for building web applications using **Next.js** with **TypeScript**, **ESLint**, **Prettier**, and **Tailwind CSS**.
Downloads
4
Maintainers
Readme
Next.js Starter Template with TypeScript, ESLint, Prettier, and Tailwind CSS
Welcome to the Next.js starter template! This template is designed to provide a solid foundation for building web applications using Next.js with TypeScript, ESLint, Prettier, and Tailwind CSS.
Features
- Next.js with TypeScript: A powerful React framework with TypeScript support for improved type checking and developer experience.
- ESLint and Prettier: Enforce code quality and consistency with ESLint and Prettier configurations for a clean and maintainable codebase.
- Tailwind CSS: A utility-first CSS framework for rapid UI development, easily customizable to fit your design needs.
Getting Started
Clone the Repository
git clone https://github.com/zahidhasanemran/next-js-14-app-router-starter-template.git
cd next-js-14-app-router-starter-template
Install Dependencies
npm install
Run the Development Server
npm run dev
Open your browser and visit http://localhost:3000 to see the template in action.
Project Structure
The project structure is organized as follows:
pages/: Contains Next.js pages. Each file in this directory corresponds to a route.
styles/: Includes global CSS styles and configurations.
components/: Add your React components here.
Customization
ESLint Configuration
Modify .eslintrc.js to adjust ESLint rules based on your preferences.
Prettier Configuration
Adjust .prettierrc for Prettier settings tailored to your coding style.
Tailwind CSS
Customize the tailwind.config.js file for your specific design requirements.
Scripts
npm run dev: Start the development server.
npm run build: Build the production-ready application.
npm start: Run the production build locally.
npm run lint: Run ESLint to check for code issues.
npm run lint:fix: Run ESLint and automatically fix issues.
npm run format: Format code with Prettier.
Contributing
Feel free to contribute to this template by submitting issues, feature requests, or pull requests. Your feedback and contributions are highly appreciated!
License
This project is licensed under the MIT License.