emeth:css模块的主题-源码

上传者: 42098892 | 上传时间: 2021-02-17 22:07:12 | 文件大小: 472KB | 文件类型: ZIP
Emeth Emeth是一个使CSS模块更易于处理的超级简单的小工具。 它允许以类为主题,而无需进行额外的工作,并且可以轻松地找到未使用CSS类。 演示版 看到它在行动 或运行它 git clone git@github.com:jspears/emeth.git cd emeth npm install npm run start & open http://localhost:8082 安装 $ npm install emeth 用法 使用emeth有三件事。 首先是CSS模块,它对它们有帮助,但是从技术上讲,您不需要它们。 他们被“安装”了主题功能。 要访问主题CSS,请将您的类传递给themeClass,它将返回一个可用于注入类的函数 安装主题 像这样在模块中设置组件。 theme.js import './YourComponent.less' ;

文件下载

资源详情

[{"title":"( 30 个子文件 472KB ) emeth:css模块的主题-源码","children":[{"title":"emeth-master","children":[{"title":".travis.yml <span style='color:#111;'> 276B </span>","children":null,"spread":false},{"title":"docs","children":[{"title":"0.2819dcd2d26343a696f2.style.css.map <span style='color:#111;'> 614B </span>","children":null,"spread":false},{"title":"0.2819dcd2d26343a696f2.style.css <span style='color:#111;'> 597B </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 131.14KB </span>","children":null,"spread":false},{"title":"index.js.map <span style='color:#111;'> 323.23KB </span>","children":null,"spread":false},{"title":"9b6fbf52b6b8494fb2ed.style.css <span style='color:#111;'> 240B </span>","children":null,"spread":false},{"title":"index.html <span style='color:#111;'> 427B </span>","children":null,"spread":false},{"title":"index-9b6fbf52b6b8494fb2ed.js <span style='color:#111;'> 739.09KB </span>","children":null,"spread":false}],"spread":true},{"title":"package.json <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false},{"title":"test","children":[{"title":"index-test.ts <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false}],"spread":true},{"title":"Readme.md <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"types.ts <span style='color:#111;'> 244B </span>","children":null,"spread":false},{"title":"index.ts <span style='color:#111;'> 2.77KB </span>","children":null,"spread":false}],"spread":true},{"title":".npmignore <span style='color:#111;'> 50B </span>","children":null,"spread":false},{"title":"tsconfig.json <span style='color:#111;'> 5.84KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 62B </span>","children":null,"spread":false},{"title":"plugin.js <span style='color:#111;'> 166B </span>","children":null,"spread":false},{"title":".npmrc <span style='color:#111;'> 36B </span>","children":null,"spread":false},{"title":"public","children":[{"title":"blue","children":[{"title":"BlueApp.module.css <span style='color:#111;'> 37B </span>","children":null,"spread":false},{"title":"index.ts <span style='color:#111;'> 61B </span>","children":null,"spread":false}],"spread":true},{"title":"Switcher.tsx <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"red","children":[{"title":"App.module.css <span style='color:#111;'> 55B </span>","children":null,"spread":false},{"title":"index.ts <span style='color:#111;'> 57B </span>","children":null,"spread":false}],"spread":false},{"title":"tsconfig.json <span style='color:#111;'> 5.97KB </span>","children":null,"spread":false},{"title":"App.tsx <span style='color:#111;'> 720B </span>","children":null,"spread":false},{"title":"theme","children":[{"title":"Readme.md <span style='color:#111;'> 141B </span>","children":null,"spread":false},{"title":"Switcher.module.css <span style='color:#111;'> 149B </span>","children":null,"spread":false},{"title":"index.ts <span style='color:#111;'> 104B </span>","children":null,"spread":false}],"spread":false},{"title":"index.ts <span style='color:#111;'> 72B </span>","children":null,"spread":false}],"spread":true},{"title":"yarn.lock <span style='color:#111;'> 388.11KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明