1. 首页
  2. 数据库
  3. 其它
  4. css modules flow types:使用Webpack loader或CLI从CSS Modules文件创建流类型定义 源码

css modules flow types:使用Webpack loader或CLI从CSS Modules文件创建流类型定义 源码

上传者: 2021-02-07 19:51:39上传 ZIP文件 158.82KB 热度 14次
css-modules-flow-types CLI和Webpack加载程序,用于基于文件创建类型定义。 这给您: 在大多数编辑器中自动完成CSS文件的填充 流类型安全性,显示不存在的类的用法 在此博客文章中了解有关背景的更多信息: 。 例 使用CSS模块给出以下css文件: @value primary: red ; . myClass { color : primary; } css-modules-flow-types在其旁边创建以下.flow文件: // @flow /* This file is automatically generated by css-modu
下载地址
用户评论