@xcandy/ui-taro
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-alpha.1 • Public • Published

XCandy UI Taro

Npm Ci

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

Package Sidebar

Install

npm i @xcandy/ui-taro

Weekly Downloads

6

Version

1.0.0-alpha.1

License

MIT

Unpacked Size

98.6 kB

Total Files

77

Last publish

Collaborators

  • loveonelong