【文件属性】:
文件名称:styleed-vue:在Vue单文件组件中使用动态样式
文件大小:325KB
文件格式:ZIP
更新时间:2021-02-04 18:48:49
css webpack vue poi zero-config
注意:此项目暂时未得到积极维护(我仍然会不时推送一些代码),如果您希望获得改进或获得支持,请考虑。
请考虑给该项目的作者 ,以显示您的 :red_heart: 和支持。
产品特点
零运行时间的Vue SFC CSS-in-JS
默认范围内CSS
CSS预处理器支持
动态样式就可以使用(不支持IE)
开箱即用地使用SSR
热模块更换仍然有效
您无需任何配置即可获得所有功能!
目录
安装
yarn add styled-vue --dev
然后注册Vue插件(可选):
import Vue from 'vue'
import { StyledVue } from 'styled-vue'
Vue .
【文件预览】:
styled-vue-master
----.gitignore(19B)
----compiler.js(43B)
----package.json(2KB)
----LICENSE(1KB)
----.github()
--------FUNDING.yml(718B)
----examples()
--------nuxt()
----README.md(6KB)
----circle.yml(644B)
----example()
--------index.js(159B)
--------poi.config.js(367B)
--------App.vue(730B)
----poi()
--------index.js(281B)
----nuxt()
--------plugin.js(130B)
--------index.js(358B)
----lib()
--------parseScript.js(6KB)
--------parseComponent.js(2KB)
--------compiler.js(110B)
--------units.js(693B)
--------index.js(598B)
----.gitattributes(12B)
----test()
--------parseComponent.test.js(2KB)
--------__snapshots__()
----.editorconfig(187B)
----.prettierrc(69B)
----yarn.lock(510KB)