NextJS application starter template configured with shadcn/ui components, tailwindcss, eslint, prettier, husky and lint-staged.
Run the following command to create a NextJS app using this template. Replace [YOUR_APP_NAME] with desired name for your app.
npx create-next-app --example https://github.com/hkurma/nextjs-starter-template [YOUR_APP_NAME]
This is a Next.js project bootstrapped with create-next-app
.
This project uses next/font
to automatically optimize and load Inter, a custom Google Font.
This project uses 'shadcn/ui' components built using 'tailwindcss'.
This project is configured with 'ESLint' and 'Prettier' for consistent coding style.
This is project is configured with 'husky' and 'lint-staged' to make sure linting and formatting checks run before the code is committed.
First, run the development server:
npm run dev
Open http://localhost:3000 with your browser to see the result.
npm run build
This will build the application to out_publish
directory.