Neoclassic Placebo Maker

    driver-weex
    TypeScript icon, indicating that this package has built-in type declarations

    2.1.0 • Public • Published

    driver-weex

    Weex driver for Rax.

    Install

    $ npm install --save driver-weex

    Use

    import {createElement, Component, render} from 'rax';
    import * as WeexDriver from 'driver-weex';
    
    class Example extends Component {
      render() {
        return (
          <div>
            <img width="560" height="560" src="https://img.alicdn.com/tps/TB1z.55OFXXXXcLXXXXXXXXXXXX-560-560.jpg" />
          </div>
        );
      }
    }
    
    render(<Example />, null, {
      driver: WeexDriver
    });

    Keywords

    none

    Install

    npm i driver-weex

    DownloadsWeekly Downloads

    1,414

    Version

    2.1.0

    License

    BSD-3-Clause

    Unpacked Size

    269 kB

    Total Files

    17

    Last publish

    Collaborators

    • zeroling
    • wintercn
    • yuanyan
    • fyangstudio
    • yacheng
    • rax-publisher