Creates a suitable Next.js project with shadcn/ui components from a Vercel v0 page.tsx component .
Install v0-run globally using npm:
npm install -g v0-run
Run v0-run with a path to your v0-generated .tsx component file:
v0-run <componentPath> [options]
For example:
v0-run ./my-v0-component.tsx --name my-awesome-project
- 🛠 Easily set up a Next.js project structure
- 🔌 Seamless integration with Vercel v0 output
- 🚀 Rapid local development environment
- 📦 Automatic dependency management
- 🎨 Optional shadcn/ui integration
- 🧩 Customizable component selection
- -n, --name : Name of the Next.js project (default: 'my-nextjs-app')
- -m, --modules : Comma-separated list of additional npm modules to install
- --shadcn-components : Comma-separated list of shadcn/ui components to install
- --no-shadcn: Skip shadcn/ui setup
- --theme : Theme for shadcn/ui ('default' or 'custom', default: 'default')
- -V, --version: Output the version number
- -h, --help: Display help for command
If no shadcn/ui components are specified but shadcn/ui is not disabled, you will be prompted to select components interactively.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.