@tinotech/clean-next-boilerplate v2.3.1
Clean Next.js Boilerplate CLI
Generate a clean Next.js boilerplate with various base configurations. To get started, use the following command:
npx @tinotech/clean-next-boilerplateTo create a new app in a specific folder, you can send a name as an argument. For example, the following command will create a new Next.js app called blog-app in a folder with the same name:
npx @tinotech/clean-next-boilerplate blog-appOptions
@tinotech/clean-next-boilerplate comes with the following options:
- -V, --version output the version number
- -y, --yes answer yes to all the prompts
- -h, --help display help for command
Configurations
with-javascript The default and cleanest boilerplate with no extra dependencies or features.
with-javascript-mongodb A JavaScript Next.js boilerplate with the setup for integration with MongoDB.
with-javascript-sass A JavaScript Next.js boilerplate with the setup for using Sass. It includes the newer
useandforwardsyntax and has some base styles separated into components and abstracts directories which can be customised.with-javascript-sass-mongodb A JavaScript Next.js boilerplate which is an amalgamation of the
with-javascript-mongodbandwith-javascript-sassconfigurations.with-typescript The default Next.js boilerplate setup for using TypeScript instead of JavaScript.
with-typescript-mongodb A TypeScript Next.js boilerplate with the setup for integration with MongoDB.
with-typescript-sass A TypeScript Next.js boilerplate with the setup for using Sass. It includes the newer
useandforwardsyntax and has some base styles separated into components and abstracts directories which can be customised.with-typescript-sass-mongodb A TypeScript Next.js boilerplate which is an amalgamation of the
with-typescript-mongodbandwith-typescript-sassconfigurations.with-eslint There are
with eslintversions of all the boilerplates above. These configurations just have a stock eslint configuration obtained by runningnpx next lintand choosing thestrictoption.with-context There are
with-contextversions of all the boilerplates above which have a stock Context API config.