Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
An opinionated Next.js starter with Tailwind CSS, TypeScript, ESLint, Prettier, and absolute imports pre-configured.
Next.js Advanced Starter is an opinionated boilerplate for building Next.js applications with Tailwind CSS, TypeScript, ESLint, Prettier, and absolute imports pre-configured.
Next.js Advanced Starter is a GitHub template repository that provides a minimal, well-thought-out base for building advanced Next.js powered websites. It takes a fresh GitHub repository as input via the "Use this Template" button and outputs a working Next.js application with TypeScript, Tailwind CSS, ESLint rules, Prettier formatting, and standardized absolute imports. The project is maintained by an individual developer who explicitly invites criticism and contributions through issues and pull requests.
.eslintrc.js file.prettier.config.js rules.src/pages/_app.tsx and the font family in tailwind.config.js.@components/MyComp instead of ../../components/MyComp, configured via .babelrc and tsconfig.json.@tailwindcss/ui for enhanced spacing, colors, and shadows, and @tailwindcss/typography for automatic styling of plain HTML with the prose class.npm run dev to get a live Next.js app at localhost:3000.npm install or yarn install, then run npm run dev or yarn dev to start the development server at http://localhost:3000.Pros:
Cons:
@tailwindcss/ui, which the author notes will be removed once its features are merged into Tailwind core.Yes, the template is open-source and available for anyone to use by clicking "Use this Template" on GitHub. There are no paid tiers or license fees mentioned.
The template includes Next.js, React, TypeScript, Tailwind CSS, @tailwindcss/ui, @tailwindcss/typography, ESLint with Airbnb config, Prettier, and the Inter font.
Replace the <link> to Google Fonts in src/pages/_app.tsx with your chosen font URL, then update the fontFamily.sans value in tailwind.config.js. Make sure to include font weights 400, 500, 600, 700, and 800 for Tailwind's font classes to work.
First add an alias like @myalias in your .babelrc file pointing to the folder, then add the corresponding path mapping under compilerOptions.paths in tsconfig.json.
