Parses an exma schema to FREE react UI.
yarn add -D exma-frui
... or ...
npm i --dev exma-frui
In your schema.exma
file add the following generator.
plugin "exma-frui" {
ui "tailwind"
ts true
output "./react"
types "./types.ts"
}
Options
-
ui
-react
ortailwind
-
ts
- whether to generate the typescript files or the final*.d.ts
-
output
- folder where to generate the hooks and components -
types
- where the schema typescript typings are. see exma-typescipt