{"id":20152543,"url":"https://github.com/fe6/vue-icon","last_synced_at":"2026-03-19T14:10:31.595Z","repository":{"id":39670650,"uuid":"129624947","full_name":"fe6/vue-icon","owner":"fe6","description":"Vue.js 的 icon 组件","archived":false,"fork":false,"pushed_at":"2026-01-02T09:57:34.000Z","size":2300,"stargazers_count":0,"open_issues_count":135,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-08T09:47:33.632Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Vue","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/fe6.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":"2018-04-15T15:43:45.000Z","updated_at":"2018-04-18T08:57:32.000Z","dependencies_parsed_at":"2025-06-06T10:23:13.119Z","dependency_job_id":"2460741f-ce22-4946-a9ec-7ba62ce0b836","html_url":"https://github.com/fe6/vue-icon","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fe6/vue-icon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fe6%2Fvue-icon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fe6%2Fvue-icon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fe6%2Fvue-icon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fe6%2Fvue-icon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fe6","download_url":"https://codeload.github.com/fe6/vue-icon/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fe6%2Fvue-icon/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30299110,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T14:33:48.460Z","status":"ssl_error","status_checked_at":"2026-03-09T14:33:48.027Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-13T23:12:24.707Z","updated_at":"2026-03-09T14:34:19.923Z","avatar_url":"https://github.com/fe6.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @fe6/vue-icon 图标\n\u003e Vue.js 的 语义化的矢量图形。\n\n## 如何使用\n\n使用 `\u003cIcon /\u003e` 标签声明组件，指定图标对应的 type 属性，示例代码如下:\n```` vue\n\u003cIcon type=\"loading1\" /\u003e\n````\n\n## 本地部署\n\n图标默认托管在 [iconfont.cn](http://iconfont.cn) ，默认公网可访问。如需本地部署，可参考 [示例](https://github.com/fe6/vue-icon/tree/master/example) 。\n\n## API\n\n由于图标字体本质上还是文字，可以使用 `style` 和 `class` 设置图标的大小和颜色。\n\n```` vue\n\u003cIcon type=\"loading1\" :style=\"{fontSize: '210px'}\" /\u003e\n````\n\n|参数|说明|类型|是否必填|默认值|\n|---|----|---|-------|-----|\n|type|图标类型。如果为空则不显示|boolean|是|-|\n|style|设置图标的样式，例如 fontSize 和 color|object|否|-|\n|spin|是否有旋转动画|object|否|false|\n\n## 命令的功能\n\u003e 本项目的开发及打包工作流都集成到了 [@fe6/vcmd](https://www.npmjs.com/package/@fe6/vcmd) 中。\n\n### npm start\n  - style\n    - 语法检测\n    - sass 转译 css\n  - ts\n    - 语法检测\n    - ts 转译\n  - html\n    - 渲染 vue\n    - 实时编译\n\n![npm start 例子](https://github.com/fe6/vcmd/raw/master/public/server.gif)\n\n### npm run build\n  - style\n    - 语法检测\n    - sass 转译 css\n    - 压缩\n    - postcss 低版本兼容\n  - js\n    - 语法检测\n    - ts 转译\n    - 打包\n    - 语法低版本兼容\n\n![npm run build 例子](https://github.com/fe6/vcmd/raw/master/public/build.gif)\n\n## 开发须知\n\n- 本项目已经配置 Travis (持续集成)， 自动化到其他项目注意修改 `.travis.yml`\n- 本项目已经配置 Codecov (单元测试报告上传)， 自动化到其他项目注意修改 `.codecov.yml`\n- 本项目已经打开 snyk (漏洞检测)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffe6%2Fvue-icon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffe6%2Fvue-icon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffe6%2Fvue-icon/lists"}