get-next-template
v1.1.1
Published
this cli helps you create your own custom template
Maintainers
Readme
✨ Next.js Template Generator ✨
Tired of setting up the same dependencies for every new Next.js project? Meet get-next-template, a powerful CLI tool that helps you scaffold a new Next.js application with your preferred configurations in seconds. It's the fastest way to get your project up and running, so you can focus on building great things!
🚀 Get Started
To begin, simply run the following command in your terminal. Note: For the best experience on Windows, we recommend using Git Bash.
npx get-next-template@latest <your-app-name>Replace <your-app-name> with the name of your new project directory. The tool will then guide you through a series of interactive prompts.
🛠️ Key Features & Options
The CLI offers a range of choices to customize your template. First, you'll select a base template:
- Next.js + Strapi: A robust setup for projects requiring a powerful headless CMS.
- Next.js Basic: A clean, minimal Next.js boilerplate that you can customize with additional options.
Note: The following configuration options are only available when you select the Next.js Basic template.
Language:
- JavaScript
- TypeScript
Package Manager:
- npm
- Yarn (The CLI will automatically install Yarn if it's not detected on your system.)
Slider Package:
- Swiper: A modern and highly customizable slider component.
- React Slick: A popular, feature-rich carousel component.
Date Library:
- Date-Fns: A lightweight, modern utility for date manipulation.
- Moment: A widely used, though now legacy, date library.
- Date Pack: (You might want to add a brief description of what this is, or clarify if this is a custom name. For now, it's included as is.)
CSS Preprocessor:
- Vanilla CSS: The standard stylesheet language.
- Sass: A powerful preprocessor that adds features like variables and nested rules.
🙏 Contribute
This tool was created to help the developer community, and its power comes from all of us! I would highly appreciate any contributions to make get-next-template even more powerful and interactive.
Feel free to submit pull requests with new features, bug fixes, or improvements to the CLI's user experience.
🔗 NPM Registry
For more details and to see the package on the official registry, visit: https://www.npmjs.com/package/get-next-template
Happy coding! 🚀
