{"id":21488555,"url":"https://github.com/dsabre/generate-vue-cli","last_synced_at":"2026-06-30T21:31:04.434Z","repository":{"id":193484476,"uuid":"620272094","full_name":"dsabre/generate-vue-cli","owner":"dsabre","description":"A Vue CLI to generate components instantly","archived":false,"fork":false,"pushed_at":"2023-09-08T10:33:28.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-26T10:28:00.496Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/dsabre.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}},"created_at":"2023-03-28T11:11:08.000Z","updated_at":"2023-03-28T11:11:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"9e0b8f7d-6ca7-4287-93cc-60ebd5929c10","html_url":"https://github.com/dsabre/generate-vue-cli","commit_stats":null,"previous_names":["dsabre/generate-vue-cli"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dsabre/generate-vue-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsabre%2Fgenerate-vue-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsabre%2Fgenerate-vue-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsabre%2Fgenerate-vue-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsabre%2Fgenerate-vue-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dsabre","download_url":"https://codeload.github.com/dsabre/generate-vue-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsabre%2Fgenerate-vue-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34984784,"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-30T02:00:05.919Z","response_time":92,"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":[],"created_at":"2024-11-23T14:10:05.370Z","updated_at":"2026-06-30T21:31:04.408Z","avatar_url":"https://github.com/dsabre.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# generate-vue-cli\n\nA Vue CLI to generate components instantly.\n\n## Run using npx\n\n```bash\nnpx @dsabre/generate-vue-cli --dir=src/components --name=HelloWorld\n```\n\n## Usage\n\n```bash\n# Usage: npx @dsabre/generate-vue-cli [flags]\n\n# Generate a Vue component.\n\n# Flags:\n#   --dir        (required)   The directory where the component will be generated.\n#   --name       (required)   The name of the component.\n#   --prefix     (optional)   Prefix to prepend to component name.\n#   --suffix     (optional)   Suffix to append to component name.\n#   --template   (optional)   The template path to use.\n#\n#   -h, --help   Display this help message and exit.\n\n# Example:\n#   npx @dsabre/generate-vue-cli --dir=\"src/components\" --name=\"HelloWorld\" --prefix=\"Prefix\" --suffix=\"Suffix\"`);\n```\n\n## Examples\n\nCreate a src/components/HelloWorld.vue component:\n\n```bash\nnpx @dsabre/generate-vue-cli --dir=src/components --name=HelloWorld\n```\n\n### Using templates\n\nYou can specify a custom template of your own (use `[[COMPONENT_NAME]]` token to print the new component name, it will be replaced when the component is created):\n\n```vue\n// templates/GenericComponent.vue\n\n\u003cscript setup\u003e\nconst msg = '[[COMPONENT_NAME]] component';\n\u003c/script\u003e\n\n\u003ctemplate\u003e\n    \u003cdiv\u003e{{ msg }}\u003c/div\u003e\n\u003c/template\u003e\n```\n\nthen run:\n\n```bash\nnpx @dsabre/generate-vue-cli --dir=src/components --name=HelloWorld --template=templates/GenericComponent.vue\n```\n\n## Authors\n\n- [@dsabre](https://github.com/dsabre)\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdsabre%2Fgenerate-vue-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdsabre%2Fgenerate-vue-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdsabre%2Fgenerate-vue-cli/lists"}