{"id":50788216,"url":"https://github.com/peterbenoit/create-vvv","last_synced_at":"2026-06-12T09:32:44.330Z","repository":{"id":297630437,"uuid":"997387975","full_name":"peterbenoit/create-vvv","owner":"peterbenoit","description":"Scaffold a modern Vue 3 project with Vite, Tailwind CSS v4, Pinia, and Vercel serverless API routes — in one command. No bash required, works on any platform.","archived":false,"fork":false,"pushed_at":"2026-04-13T16:57:46.000Z","size":349,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-11T18:52:55.714Z","etag":null,"topics":["daisy","husky","pinia","tailwind","vercel","vite","vue"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/peterbenoit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-06-06T12:50:30.000Z","updated_at":"2026-04-13T16:57:51.000Z","dependencies_parsed_at":"2025-06-14T11:24:56.134Z","dependency_job_id":null,"html_url":"https://github.com/peterbenoit/create-vvv","commit_stats":null,"previous_names":["peterbenoit/vvv-init","peterbenoit/create-vvv"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/peterbenoit/create-vvv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterbenoit%2Fcreate-vvv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterbenoit%2Fcreate-vvv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterbenoit%2Fcreate-vvv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterbenoit%2Fcreate-vvv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peterbenoit","download_url":"https://codeload.github.com/peterbenoit/create-vvv/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterbenoit%2Fcreate-vvv/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34238713,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-12T02:00:06.859Z","response_time":109,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["daisy","husky","pinia","tailwind","vercel","vite","vue"],"created_at":"2026-06-12T09:32:43.793Z","updated_at":"2026-06-12T09:32:44.321Z","avatar_url":"https://github.com/peterbenoit.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# create-vvv\n\n![Vue.js](https://img.shields.io/badge/Vue.js-3.5-4FC08D?style=flat-square\u0026logo=vue.js)\n![Vite](https://img.shields.io/badge/Vite-6-646CFF?style=flat-square\u0026logo=vite)\n![Vercel](https://img.shields.io/badge/Vercel-Ready-000000?style=flat-square\u0026logo=vercel)\n![Tailwind CSS](https://img.shields.io/badge/Tailwind_CSS-v4-38B2AC?style=flat-square\u0026logo=tailwind-css)\n\nScaffold a modern Vue 3 project with Vite, Tailwind CSS v4, Pinia, and Vercel serverless API routes — in one command. No bash required, works on any platform.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/peterbenoit/create-vvv/main/screenshots/preview.png\" alt=\"Project Preview\" width=\"600\"\u003e\n\u003c/p\u003e\n\n## Usage\n\n```bash\nnpm create vvv@latest my-project\n# or with a name prompt\nnpm create vvv@latest\n```\n\nYou'll be walked through:\n1. **Project name** (or pass it as an argument)\n2. **Vue Router** — optional multi-page support\n3. **DaisyUI** — optional component library (Tailwind v4-compatible)\n4. **Git init** — initializes a repo with an initial commit\n\n### Non-interactive flags\n\n```bash\nnpm create vvv@latest my-app --yes           # accept all defaults\nnpm create vvv@latest my-app --router        # pre-select Vue Router\nnpm create vvv@latest my-app --daisyui       # pre-select DaisyUI\nnpm create vvv@latest my-app --no-git        # skip git init\nnpm create vvv@latest my-app --skip-install  # skip npm install\n```\n\nFlags compose freely: `--yes --router` scaffolds with router and accepts defaults for everything else.\n\n## What you get\n\n```\nmy-project/\n├── api/\n│   └── hello.js          # Example Vercel serverless function\n├── public/\n│   ├── favicon.svg\n│   └── robots.txt\n├── src/\n│   ├── components/        # Your components go here\n│   ├── composables/       # Your composables go here\n│   ├── App.vue            # Root component\n│   ├── App.test.js        # Example Vitest test\n│   ├── main.js            # App entry (Vue + Pinia + @unhead/vue)\n│   └── style.css          # @import \"tailwindcss\"\n├── .env                   # Local env vars (gitignored)\n├── .env.example           # Env var reference (committed)\n├── .gitignore\n├── eslint.config.js       # ESLint v9 flat config\n├── index.html\n├── package.json\n├── vercel.json\n└── vite.config.js         # Vite + @tailwindcss/vite + @ alias + vitest\n```\n\nWith Vue Router selected, `src/router.js` and `src/pages/` are added.\n\n## Local dev vs Vercel dev\n\n`npm run dev` starts the Vite dev server with hot-module replacement. **Use this for all local development.**\n\n⚠️ **Note:** `vercel dev` currently has compatibility issues with Vite 6 and will throw errors. API routes should be tested after deploying to Vercel, or by creating a separate local development server.\n\n| Command | UI | API routes | Status |\n|---|---|---|---|\n| `npm run dev` | ✅ Yes | ❌ No | **Recommended** |\n| `vercel dev` | ⚠️ Issues | ⚠️ Issues | Not compatible with Vite 6 |\n\n## Stack\n\n| Layer | Tech |\n|---|---|\n| Framework | Vue 3 + Composition API |\n| Build | Vite 6 |\n| Styling | Tailwind CSS v4 via `@tailwindcss/vite` |\n| State | Pinia |\n| Head / SEO | `@unhead/vue` |\n| API routes | Vercel serverless functions |\n| Linting | ESLint v9 flat config + `eslint-plugin-vue` |\n| Formatting | Prettier (config in `package.json`) |\n| Git hooks | Husky v9 (pre-commit: Prettier + stage changed files) |\n| Testing | Vitest + `@vue/test-utils` |\n\n## Environment variables\n\n```\nVITE_PUBLIC_MESSAGE=Hello from the frontend   # exposed to browser\nVITE_API_BASE=/api                             # API base path\nPRIVATE_BACKEND_SECRET=replace-this-secret    # server-only\n```\n\n## Commands (in generated project)\n\n```bash\nnpm run dev          # Vite dev server\nnpm run build        # Production build\nnpm run preview      # Preview production build\nnpm test             # Vitest\nnpm run lint         # ESLint\nnpm run format       # Prettier\n```\n\n## Deploying to Vercel\n\n### Option 1: Vercel CLI (recommended)\n\n```bash\n# First time - link your project\nvercel\n\n# Deploy to production\nvercel --prod\n```\n\n### Option 2: GitHub Integration (automatic)\n\n1. Push your code to GitHub\n2. Import your repo at [vercel.com/new](https://vercel.com/new)\n3. Vercel auto-detects Vite and deploys\n4. Every push to `main` auto-deploys\n\nYour API routes in `api/` are automatically deployed as serverless functions. The `vercel.json` config handles routing.\n\n## Publishing (for package maintainers)\n\n```bash\n# Dry run — check what gets included\nnpm pack --dry-run\n\n# Publish\nnpm publish --access public\n```\n\n## Author\n\n[Peter Benoit](https://peterbenoit.com)\n\n## License\n\nMIT\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterbenoit%2Fcreate-vvv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeterbenoit%2Fcreate-vvv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterbenoit%2Fcreate-vvv/lists"}