npm.io
0.1.0 • Published 4 years ago

command-react

Licence
MIT
Version
0.1.0
Deps
0
Size
677 kB
Vulns
0
Weekly
0

cover

command-react

Render the React App in Command

在控制台中构建基于命令行的 React App

command-react

Install

$ npm i command-react

Usage

const CommandReact = require("command-react");
const { Screen } = CommandReact;
CommandReact.default.render(<App/>, new Screen({}));

Demo

示例工程

./debug

License

MIT