create-template-next
v0.0.29
Published
create nextjs app with various prompts
Downloads
363
Maintainers
Readme
Create Template Next.js cli
Usage
npx create-template-next@latest
# or
yarn create template-next
# or
pnpm create template-next
# or
bunx create-template-next
Default create-next-app
Options
Project Name
? What is your project name? ›
Typescript or Javascript
? Would you like to use Typescript? … No / Yes
Use src
Directory
? Would you like to use `src/` directory? … No / Yes
Use app
router
? Would you like to use AppRouter? … No / Yes
Custom Import Alias
? Would you like to customize the default import alias? … No / Yes
Additional Options
use Storybook
? Would you like to use Storybook? › No / Yes
Select Lint Tool
? Which lint tool would you like to use? › - Use arrow-keys. Return to submit.
❯ ESLint + Prettier
Biome
None
Select Test Tool
? Which test tool would you like to use? › - Use arrow-keys. Return to submit.
❯ Jest
Vitest
None
Select Generate Tool
? Which code generator would you like to use? › - Use arrow-keys. Return to submit.
❯ Hygen
scaffdog
None
Select Project Size
? Which project size would you like to use? › - Use arrow-keys. Return to submit.
❯ Small
Medium
Large
Select Package Manager
? Which package tool would you like to use? › - Use arrow-keys. Return to submit.
❯ npm
Yarn
pnpm
bun
use GitHub Actions
? Would you like to use GitHub Actions? › No / Yes
Select Workflow
? Which workflow would you like to use? ›
Instructions:
↑/↓: Highlight option
←/→/[space]: Toggle selection
a: Toggle all
enter/return: Complete answer
◯ Lighthouse score
◯ Check amount code change
◯ lint
◯ test
◯ Check Bundle Size
CommandLine Options
Usage: create-template-next <project-directory> [options]
Options:
-V, --version output the version number
--recommend
Initialize with recommended options.
--moonshot
Initialize with moonshot options.
--ts, --typescript
Initialize as a TypeScript project. (default)
--js, --javascript
Initialize as a JavaScript project.
--tailwind
Initialize with Tailwind CSS config. (default)
--eslint
Initialize with eslint config.
--app
Initialize as an App Router project.
--src-dir
Initialize inside a `src/` directory.
--import-alias <alias-to-configure>
Specify import alias to use (default "@/*").
--storybook
Initialize with Storybook.
--jest
Initialize with Jest.
--vitest
Initialize with Vitest.
--hygen
Initialize with Hygen.
--scaffdog
Initialize with Scaffdog.
--small
Initialize with small project size.
--medium
Initialize with medium project size. (default)
--large
Initialize with large project size.
--npm
Initialize with npm.
--yarn
Initialize with Yarn. (default)
--pnpm
Initialize with pnpm.
--bun
Initialize with bun.
--github-actions
Initialize with GitHub Actions.
-h, --help display help for command