XCandy UI Taro
A UI framework for taro.js
View
https://xxxcandy.github.io/xcandy-ui-taro
Usage
Install
npm install @xcandy/ui-taro
Use in your Taro component
import Taro, { Component } from '@tarojs/taro'
import { View } from '@tarojs/components'
import { XcCalendar } from '@xcandy/ui-taro'
class Demo extends Component {
render() {
return (
<View>
<XcCalendar />
</View>
)
}
}
export default Demo
Dont forget add
esnextModules: ['@xcandy/ui-taro']
on config if you want to build h5.See: https://nervjs.github.io/taro/docs/config-detail.html#h5esnextmodules
Development
Build UI component
npm run ui:build
Dev command
# h5
npm run dev:h5
# weapp
npm run dev:weapp
License
MIT