ember-cli-pod-styles

时间:2021-05-16 16:50:43
【文件属性】:
文件名称:ember-cli-pod-styles
文件大小:18KB
文件格式:ZIP
更新时间:2021-05-16 16:50:43
JavaScript ember-cli-pod-styles 这个ember插件使编写组件命名CSS变得容易。 它将自动为每个组件的style.css命名,并将结果连接到app.css 。 在运行时,当ember将元素插入DOM时,此插件将添加style-scope标记器类,以确保命名空间样式的正确性。 该插件需要postcss 输入: // my-component/template.hbs
// my-component/style.css :host { background: blue; } .foo { color: red; } 运行时输出:
my-compone
【文件预览】:
ember-cli-pod-styles-master
----.travis.yml(265B)
----testem.json(170B)
----index.js(561B)
----package.json(2KB)
----Brocfile.js(738B)
----.bowerrc(60B)
----tests()
--------test-helper.js(112B)
--------index.html(960B)
--------unit()
--------dummy()
--------.jshintrc(814B)
--------helpers()
----.npmignore(135B)
----LICENSE.md(1KB)
----.gitignore(257B)
----lib()
--------postcss()
--------css-addon.js(1KB)
----README.md(1KB)
----.jshintrc(518B)
----bower.json(522B)
----.editorconfig(543B)

网友评论