Skip to content

medrishya/next-page-router-typescript-boilerplate

Repository files navigation

About the repository.

  • Clone the repository and execute pnpm i to install the packages.

  • Run pnpm run dev to start the development server.

  • This repository includes basic setup for a nextjs application with typescript. It helps avoid hassle to setup eslint, prettier, husky and lint staged into a freshly created nextjs application.

  • Currently cypress is setup on this project as a testing framework. Only e2e testing is configured for cypress.

  • Looking at the pnpm-lock.yaml file, you can clearly understand that we are using pnpm for package management. But you can use any package manager of your choice like npm or yarn. Make sure you remove pnpm-lock.yaml file after cloning and execute commands with package manager of your choice.

The project inlcudes Airbnb's linting guidelines. Check .eslintrc.json file for more information.

Note: Page router is used in this project instead of app router for nextjs version 14.2.3.

Thank you very much.

Happy Coding

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published