JSPM

dn-middleware-mobx-react-creator

1.3.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q32613F
  • License ISC

与dn-template-mobx-react模板配套使用的模板文件生成器,可以通过命令行或者网页客户端来生成模板文件。

Package Exports

  • dn-middleware-mobx-react-creator

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (dn-middleware-mobx-react-creator) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme


group: middleware name: mobx-react-creator title: 模板文件生成器

dn-middleware-mobx-react-creator

dn-template-mobx-react 模板配套使用的模板文件生成器,可以通过命令行或者网页客户端来生成模板文件。

一、添加使用配置

.dawn/pipe.yml 文件中加入以下配置:

create:
  - name: mobx-react-creator

二、使用 GUI 生成模板文件

执行以下命令启动 gui:

$ dn run create

GUI

三、使用命令行生成模板文件

修改成以下配置:

create:
  - name: mobx-react-creator
    gui: false

执行命令:

$ dn run create

出现如下的选择菜单,选择一个要生成模板类型,然后,按照提示操作就行。

? 选择一个模板: (Use arrow keys)1.component
  2.controller
  3.mock
  4.model
  5.page
  6.service