ember-cli-head:Ember Cli插件,用于将内容添加到HTML Head

时间:2021-05-13 14:14:31
【文件属性】:
文件名称:ember-cli-head:Ember Cli插件,用于将内容添加到HTML Head
文件大小:232KB
文件格式:ZIP
更新时间:2021-05-13 14:14:31
JavaScript 余烬头 这个插件使您可以从Ember代码中填充<head>标记,而无需任何直接的hacked DOM操作。 它还提供了兼容性,用于在服务器渲染的应用程序中生成head标签。 希望将来,Ember将提供一种从您的应用程序填充<head>标签的机制。 在此之前,此插件提供了该功能。 兼容性 Ember.js v2.18或更高版本 Ember CLI v2.13或更高版本 Node.js v10或更高版本 安装 通过运行安装 ember install ember-cli-head 然后,将添加到应用程序模板的顶部。 {{!-- app/templates/application.hbs --}} < HeadLayout> {{ outlet }} 版本 考虑到此插件的版本> = 0.3需要Ember 2.10+和fastboot> = 1.0.rc1。
【文件预览】:
ember-cli-head-master
----blueprints()
--------ember-cli-head()
----.gitignore(369B)
----README.md(5KB)
----CHANGELOG.md(9KB)
----ember-cli-build.js(873B)
----.github()
--------workflows()
----.ember-cli(299B)
----tests()
--------integration()
--------test-helper.js(228B)
--------acceptance()
--------dummy()
--------unit()
--------fastboot()
--------helpers()
--------index.html(1KB)
--------.eslintrc.js(55B)
----testem.js(601B)
----.yarnrc(40B)
----app()
--------components()
--------services()
--------instance-initializers()
--------templates()
----package.json(3KB)
----CONTRIBUTING.md(635B)
----vendor()
--------.gitkeep(0B)
----index.js(71B)
----config()
--------ember-try.js(3KB)
--------environment.js(90B)
----LICENSE.md(1KB)
----addon()
--------components()
--------services()
--------.gitkeep(0B)
--------templates()
----.watchmanconfig(37B)
----.eslintignore(247B)
----.template-lintrc.js(108B)
----.npmignore(411B)
----fastboot-tests()
--------fixtures()
--------fastboot-1.0-test.js(1KB)
----RELEASE.md(2KB)
----.editorconfig(367B)
----yarn.lock(513KB)
----.eslintrc.js(1KB)

网友评论