Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hjzheng/ccms-svg-icons
ccms svg icons
https://github.com/hjzheng/ccms-svg-icons
angularjs ccms icons shuyun svg
Last synced: 27 days ago
JSON representation
ccms svg icons
- Host: GitHub
- URL: https://github.com/hjzheng/ccms-svg-icons
- Owner: hjzheng
- Created: 2018-12-27T06:19:56.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-22T03:37:07.000Z (almost 6 years ago)
- Last Synced: 2024-10-05T09:47:59.455Z (about 1 month ago)
- Topics: angularjs, ccms, icons, shuyun, svg
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/ccms-svg-icons
- Size: 616 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ccms-svg-icons
### 依赖
依赖 AngularJS 1.5.8### 安装
```
npm install ccms-svg-icons --save;
```### 使用
```js
// 单独引入你需要使用的 icon 组件
import angular from 'angular';
import iconWechat from 'ccms-svg-icons/svgs/iconWechat'
angular.module('app', [iconWechat]);
``````html
```
### 发布
注意:
- *将新的 iconfont.js 拷贝到 svg-source 目录*
- *UX 添加新的 svg 时, 需注意一下命名, 不要重复*```
npm run release
```### Example
```
npm start
```访问 http://127.0.0.1:4000/demos/index.html