run-v0

1.0.2 • Public • Published

v0-run 🚀

npm version License: MIT

Creates a suitable Next.js project with shadcn/ui components from a Vercel v0 page.tsx component .

Table of Contents

Installation

Install v0-run globally using npm:

npm install -g v0-run

Usage

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

Features

  • 🛠 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

Options

  • -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.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Dependencies (6)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i run-v0

    Weekly Downloads

    3

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    22.8 kB

    Total Files

    9

    Last publish

    Collaborators

    • maxbaines