ember-octicons:简化在 Ember 应用程序中使用 GitHub Octicons

时间:2021-07-24 00:49:11
【文件属性】:
文件名称:ember-octicons:简化在 Ember 应用程序中使用 GitHub Octicons
文件大小:206KB
文件格式:ZIP
更新时间:2021-07-24 00:49:11
JavaScript 余烬-octicons 轻松将导入 Ember 应用程序的构建。 用法 在您的 ember-cli 项目中,运行: ember install ember-octicons 安装插件后,它会将octicons NPM 依赖项添加到您的项目中。 导入 SVG 图标 要将 Octicon SVG 作为构建时资产导入,请将octicons配置对象添加到ember-cli-build.js设置的选项。 在octicons对象中,定义一个包含 Octicon 名称数组的icons属性。 如果未指定图标,则所有 Octicon SVG 将被导入到您的项目中。 // ember-cli-build.js let app = new EmberAddon ( defaults , { octicons : { icons : [ 'alert' , 'bell' , 'j
【文件预览】:
ember-octicons-master
----blueprints()
--------ember-octicons()
----.prettierignore(253B)
----.gitignore(383B)
----README.md(2KB)
----CHANGELOG.md(580B)
----ember-cli-build.js(694B)
----.github()
--------workflows()
--------dependabot.yml(143B)
----.bowerrc(0B)
----.ember-cli(280B)
----tests()
--------test-helper.js(323B)
--------acceptance()
--------dummy()
--------helpers()
--------index.html(1KB)
----.node-version(8B)
----testem.js(539B)
----package.json(3KB)
----CONTRIBUTING.md(634B)
----CODE_OF_CONDUCT.md(326B)
----index.js(2KB)
----config()
--------deprecation-workflow.js(150B)
--------ember-try.js(2KB)
--------environment.js(90B)
----LICENSE.md(1KB)
----jsconfig.json(141B)
----.watchmanconfig(37B)
----.vscodeignore(116B)
----.eslintignore(257B)
----.template-lintrc.js(63B)
----.npmignore(486B)
----.editorconfig(367B)
----yarn.lock(499KB)
----.eslintrc.js(1KB)
----.prettierrc.js(58B)

网友评论