A UI framework for taro.js
https://xxxcandy.github.io/xcandy-ui-taro
npm install @xcandy/ui-taro
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
npm run ui:build
# h5
npm run dev:h5
# weapp
npm run dev:weapp
MIT