cli 创建仓库
http://git.wxb.com/pages/shipnew/cli-create-project/public/index.html
npm install --save cli-create-project
import React, { Component } from 'react'
import MyComponent from 'cli-create-project'
class Example extends Component {
render () {
return (
<MyComponent />
)
}
}
- yarn start 启动项目
- yarn
MIT © wxb