Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

rain-cli

rainrain16ISC1.0.3

rain-cli is simple tools with FE

readme

rain-cli

INSTALL

    npm install rain-cli -g

USE

    /**
     * 新建默认项目工程,目前为空后续提供可定制工程
    **/
    rain init objName

DEVSERVER

    /**
     * 静态服务默认是项目目录下assets
    **/
    rain dev server

HTML-INCLUDE

    /**
     * 目前html页面支持include引入公共页面模块
     * 例如 index.html引入同级下的header.html
    **/
    <!DOCTYPE html>
    <html lang="en">
        <head>
            <meta charset="UTF-8">
            <title>DEMO-INCLUDE</title>
        </head>
        <body>
            *_*b.html*_*
        </body>
    </html>