wmu2

Wii fe template using Webpack 4

Usage no npm install needed!

<script type="module">
  import wmu2 from 'https://cdn.skypack.dev/wmu2';
</script>

README

wmu2

基础开发组的移动端UI框架

建立开发环境

# 安装依赖
npm install

# 本地开发
npm run dev

# 代码编译
npm run build

安装脚手架

tnpm i @tencent/wii -g

创建模块

wii module create [moduleName]
//如下
wii module create button

简历依赖关系

# 将core模块添加到button模块中
wii module refer core button

使用模块

import WiiCore from 'wii-core'

// 使用WiiCore即可

模块发布

//未完待续