0.1.4-alpha • Published 5 years ago

xcandy v0.1.4-alpha

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

X-Candy

Npm Ci

A ui framework for taro.js

View

https://loveonelong.github.io/xcandy

Usage

Install

npm install xcandy

Use in your componet

import Taro, { Component } from '@tarojs/taro'
import { View } from '@tarojs/components'

import { XcCandy } from 'xcandy'

class Demo extends Component {
  render() {
    return (
      <View>
        <XcCandy />
      </View>
    )
  }
}

export default Demo

Please add esnextModules: ['xcandy'] with config if you want build for h5.

Development

Build UI component

npm run ui:build

Run Dev

# h5
npm run dev:h5

# weapp
npm run dev:weapp

License

MIT