{"id":20226119,"url":"https://github.com/steamerjs/steamer-vue-component","last_synced_at":"2025-10-25T01:20:34.373Z","repository":{"id":57370606,"uuid":"91554990","full_name":"steamerjs/steamer-vue-component","owner":"steamerjs","description":"vue组件开发脚手架","archived":false,"fork":false,"pushed_at":"2017-11-21T15:17:08.000Z","size":159,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-02-17T20:49:05.369Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/steamerjs.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":"2017-05-17T08:54:27.000Z","updated_at":"2017-11-10T02:44:25.000Z","dependencies_parsed_at":"2022-08-29T18:30:55.341Z","dependency_job_id":null,"html_url":"https://github.com/steamerjs/steamer-vue-component","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steamerjs%2Fsteamer-vue-component","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steamerjs%2Fsteamer-vue-component/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steamerjs%2Fsteamer-vue-component/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steamerjs%2Fsteamer-vue-component/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/steamerjs","download_url":"https://codeload.github.com/steamerjs/steamer-vue-component/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241670132,"owners_count":20000326,"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":[],"created_at":"2024-11-14T07:16:24.502Z","updated_at":"2025-10-25T01:20:29.346Z","avatar_url":"https://github.com/steamerjs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# steamer-vue-component\n\n用于开发 `vue` 组件的脚手架\n\n\n## 快速启动\n\n* 推荐 \u003e\u003e 使用[steamerjs](https://steamerjs.github.io/docs/projectkits/Bootstrap.html)安装\n\n```javascript\n\nnpm i -g steamerjs steamer-plugin-kit\n\nnpm i -g steamer-vue-component\n\nsteamer kit\n```\n\n* 直接从github clone 下来\n\n### 安装依赖\n```bash\nnpm i\n```\n\n### 开发\n\n```bash\nnpm run start 或 npm run dev\n\n// 打开链接，查看 demo\nlocalhost:9000\n```\n\n\u003e ps：此处在开启开发模式下默认会自动打开浏览器。\n\n### 代码规范扫描\n\n```bash\nnpm run lint\n```\n\n\u003e ps：此处的扫描在开发模式下是默认开启的，不需要手动执行lint。\n\n### 测试\n\n```bash\n// 使用 karma 测试\nnpm run test 或 npm run karma\n```\n\n### 生产代码生成\n\n```bash\n// 使用 babel 编译\nnpm run dist 或 npm run babel\n\n// 使用 webapck 编译\nnpm run webpack\n```\n\n\u003e ps：关于两种编译方式的区别可查看[这里](https://steamerjs.github.io/docs/Componet-Standard.html#两种编译与两种测试方式)。\n\n## 编写demo\n\n直接在`/example/src/container/`目录下调整关于组件的使用逻辑和范例样式即可，如范例中该目录下的index.js和index.less文件。\n\n\n## 脚手架文档\n[参见文档 - 组件脚手架](https://steamerjs.github.io/docs/componentkits/Starterkit.html)\n\n## 文章参考\n* [聊一聊前端自动化测试](https://github.com/tmallfe/tmallfe.github.io/issues/37)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteamerjs%2Fsteamer-vue-component","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsteamerjs%2Fsteamer-vue-component","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteamerjs%2Fsteamer-vue-component/lists"}