Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A Next.js starter with TypeScript, Tailwind CSS, Sass, ESLint, Prettier, and absolute imports, ready for development.
Next.js TypeScript Tailwind Sass Boilerplate is a public GitHub template that combines create-next-app with TypeScript, Tailwind CSS, Sass/SCSS, ESLint, Prettier, and absolute imports, ready to use as a starting point for any Next.js project.
This boilerplate is a Next.js project bootstrapped with create-next-app, with a set of preconfigured tools and conventions added on top. It takes a fresh Next.js installation and layers on TypeScript, Tailwind CSS, React-responsive, Sass/SCSS with absolute imports, ESLint with custom strict settings, and Prettier integrated with ESLint. The result is a project structure that includes components, assets, utils, and custom SCSS functions designed to speed up development. The template is distributed via GitHub's "Use this template" button, so you can create a new repository with all of these files in one step.
assets/styles/variables instead of relative paths.import image1 from 'assets/image1.jpg' work without relative path traversal.yarn start runs the Next.js dev server, and yarn serve runs the production server.yarn install, and then yarn start to get a development server running with the full toolchain.Using the template starts by clicking the "Use this template" button on the GitHub repository, which creates a new repository with the same file structure. After cloning, install dependencies with npm install or yarn install. For development, run yarn start (which executes next dev); for a production build, run yarn serve (which executes next start).
The repository is publicly available on GitHub and is meant to be used as a template. The README does not mention any payment or license restriction, so you can assume it is free to use for your own projects.
It includes Next.js, TypeScript, Tailwind CSS, React-responsive, Sass/SCSS, ESLint with custom strict settings, Prettier, absolute module imports, custom SCSS functions, and a neat project structure with predefined folders.
After installing dependencies, run yarn start to start the Next.js development server. This is a custom script that runs next dev.
Run yarn serve to start the production server with next start. This requires you to have built the project first.
Yes, React-responsive is one of the listed features, and it can be used to build responsive layouts with media query hooks.