Skip to content

margin-0/omi-weui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

omi-weui

weui for Omi

这里是 weui 开发版本,会整体重构

src 为组件源码 line 为线上文档

开发

yarn dev

后编译配置通过 babel-loader 的 include 选项

{
    test: /\.js$/,
    loader: 'babel-loader',
    include: [
		resolve('node_modules/omi-weui'),
	]
},

按需引入需要安装 babel-plugin-transform-modules, 并配置如下:

"plugins": [
  ["transform-modules", {
	 "omi-weui": {
	   "transform": "omi-weui/src/components/${member}",
	   "preventFullImport": true,
	   "kebabCase": true
	 }
  }]
]

About

weui for Omi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published