Skip to content
react-admin-generator
TypeScript HTML JavaScript CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
template
.gitignore
LICENSE
README.md
data.js
package-lock.json
package.json
yarn.lock

README.md

react-admin-generator

A generator for https://github.com/wenpengfei/parcel-typescript-react-boilerplate

Install

yarn global add react-admin-generator or npm install -g react-admin-generator

Usage

create-react-admin -c example.js

example.js:

module.exports = [
  { 
    displayName: '品种',
    key: 'varietyId', 
    modelName: 'Variety',
    modelPluralName: 'Varieties',
    properties: [
      {
        type: 'String',
        displayName: '名称',
        name: 'name'
      },
      { 
        type: 'String',
        displayName: '数量',
        name: 'qty'
      },
    ]
  },
]
You can’t perform that action at this time.