code-generator
搭建出码
import codeGenerator from '@mybricks/code-generator'
// target = 'react' | 'weapp'
const codeResult = codeGenerator.generateCode({ toJson: json, target: 'react' })
console.log(codeResult)
搭建出码
import codeGenerator from '@mybricks/code-generator'
// target = 'react' | 'weapp'
const codeResult = codeGenerator.generateCode({ toJson: json, target: 'react' })
console.log(codeResult)
npm i @mybricks/code-generator
19
1.0.13
none
761 kB
8