jsx2mp-cli

0.3.2 • Public • Published

jsx2mp-cli

A cli tool to transform Rax JSX based project to MiniApp.

Usage as cli tool.

  1. Create a miniapp based project using rax-cli.

    rax init myApp
  2. Install jsx2mp-cli

    npm install jsx2mp-cli -g
  3. Transform your project.

    cd myApp
    jsx2mp start

    The tool will keep watching your source files before being interpreted by Ctrl + C.

  4. Use 小程序开发工具 to open dist directory under your project path.

You can also use rax-scripts to build miniapp, which intergrate the jsx2mp-cli.

Integration Testing

As project-based integration testing, the test includes the following cases:

  1. import static assets

Readme

Keywords

none

Package Sidebar

Install

npm i jsx2mp-cli

Weekly Downloads

7

Version

0.3.2

License

BSD-3-Clause

Unpacked Size

25.9 kB

Total Files

16

Last publish

Collaborators

  • zeroling
  • likai757
  • solojiang
  • chriscindy
  • rax-publisher