Skip to content

selemondev/create-react-next

Repository files navigation

Create React Next ⚡

The Next Generation React Scaffolding Tool powered by Vite 🛠️

Usage

npx

npx create-react-next@latest

# OR

npx create-react-next <project-name> --ts --eslint --tailwind --use-pnpm

yarn

yarn create react-next

# OR

yarn create react-next <project-name> --ts --eslint --tailwind --use-pnpm

pnpm

pnpm create react-next@latest

# OR

pnpm create react-next@latest <project-name> --ts --eslint --tailwind --use-pnpm

Options

You can also pass command line arguments to set up a new project non-interactively. Run create-react-next --help to see the available command line arguments:

Usage: create-react-next <project-name> [options]

Options:
  -V, --version   output the version number
  --ts, --typescript

    Initialize as a TypeScript project.

  --tailwind

    Initialize with Tailwind CSS config.

  --eslint

    Initialize with ESLint config.

  --use-npm

    Explicitly tell the CLI to bootstrap the app using npm

  --use-pnpm

    Explicitly tell the CLI to bootstrap the app using pnpm

  --use-yarn

    Explicitly tell the CLI to bootstrap the app using Yarn

  --use-bun

    Explicitly tell the CLI to bootstrap the app using Bun

How to contribute?

Contributions are welcome and encouraged! If you have any ideas or suggestions for new features, or if you encounter any bugs or issues, please open an issue or submit a pull request on the GitHub repository.

Developers interested in contributing should read the Code of Conduct and the Contributing Guide.

Happy hacking ⚡