{"id":20849998,"url":"https://github.com/david-desmaisons/vue-cli-plugin-component","last_synced_at":"2025-05-12T04:31:00.182Z","repository":{"id":52100362,"uuid":"141941659","full_name":"David-Desmaisons/vue-cli-plugin-component","owner":"David-Desmaisons","description":"🛠️ vue-cli 3 plugin to create component","archived":false,"fork":false,"pushed_at":"2022-12-07T21:51:45.000Z","size":185,"stargazers_count":86,"open_issues_count":6,"forks_count":6,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-24T00:07:49.188Z","etag":null,"topics":["component","vue","vue-cli-plugin"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/David-Desmaisons.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-07-23T00:21:16.000Z","updated_at":"2025-02-28T03:02:32.000Z","dependencies_parsed_at":"2023-01-24T23:00:48.522Z","dependency_job_id":null,"html_url":"https://github.com/David-Desmaisons/vue-cli-plugin-component","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/David-Desmaisons%2Fvue-cli-plugin-component","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/David-Desmaisons%2Fvue-cli-plugin-component/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/David-Desmaisons%2Fvue-cli-plugin-component/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/David-Desmaisons%2Fvue-cli-plugin-component/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/David-Desmaisons","download_url":"https://codeload.github.com/David-Desmaisons/vue-cli-plugin-component/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253675162,"owners_count":21945908,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["component","vue","vue-cli-plugin"],"created_at":"2024-11-18T03:07:38.858Z","updated_at":"2025-05-12T04:30:59.914Z","avatar_url":"https://github.com/David-Desmaisons.png","language":"JavaScript","readme":"# vue-cli-plugin-component\n[![Npm version](https://img.shields.io/npm/v/vue-cli-plugin-component.svg?maxAge=2592000)](https://www.npmjs.com/package/vue-cli-plugin-component)\n[![npm](https://img.shields.io/npm/dt/vue-cli-plugin-component.svg)](https://npmjs.com/package/vue-cli-plugin-component)\n[![MIT License](https://img.shields.io/github/license/David-Desmaisons/vue-cli-plugin-component.svg)](https://github.com/David-Desmaisons/vue-cli-plugin-component/blob/master/LICENSE)\n\u003e component plugin for vue-cli\n\n![demo](./__doc__/vue-ui.png)\n\n```\nproject\n│   README.md\n│   LICENSE (optional)\n└───src\n│   ├── index.js\n│   └───components\n│       └───Mycomponent.vue\n│\n└───example\n    ├── App.vue\n    ├── main.js\n```\n\n## Features\n\n* Adjust build script to only build the component. Use serve script to serve a demo page.\n\n* Create a prepublishOnly script to run the build(s) before publishing the component\n\n* Update README.md with component information\n\n* Optional\n    * Use [ComponentFixture](https://github.com/David-Desmaisons/ComponentFixture) to develop and test the component\n\n    * Automatically document the component with [vue-styleguidist](https://github.com/vue-styleguidist/vue-styleguidist) and [vuedoc.md](https://gitlab.com/vuedoc/md) .\n\n    * Create a license file for the project\n\n    * Add projects badges\n\n## Scripts\n\nUse build to build the component\n``` sh\nnpm run build\n```\n\nUse serve to serve the application example in the example folder\n``` sh\nnpm run serve\n```\n\n### When using vue.doc\n\nUse doc:build to update the API section of README.md with generated documentation\n```\nnpm run doc:build\n```\n\n### When using vueStyleguide\n\nUse styleguide to run style guide dev server\n```\nnpm run styleguide\n```\n\nUse styleguide:build to generate a static HTML style guide\n```\nnpm run styleguide:build\n```\n\n\n## Configuration\n\n![configuration](./__doc__/configuration.png)\n\n\n* **componentName:** the name of the component.\n\n* **useVueStyleguidist:** true to install [vue-styleguidist](https://github.com/vue-styleguidist/vue-styleguidist), default: true\n\n* **useVueDoc:** true to install [vuedoc.md](https://gitlab.com/vuedoc/md), default: true\n\n* **addLicense** true to add a License file to the project, default: false\n\n* **licenseName** type of the license file to create, default: MIT\n\n* **copyrightHolders** Project copy holders, used when creating the license file.\n\n## Injected Commands\n\nNo command will be injected.\n\n\n## Installing in an Already Created Project\n\n``` sh\nvue add component\n```\n\n## Injected webpack-chain Rules\nNo Changes are performed\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavid-desmaisons%2Fvue-cli-plugin-component","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavid-desmaisons%2Fvue-cli-plugin-component","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavid-desmaisons%2Fvue-cli-plugin-component/lists"}