Customize Templates
Use your own templates for components, actions.
You can customize templates used by Rekit React plugin.
Create a folder named
rekit-templatesin your projectCreate a folder named
rekit-reactunderrekit-templatesCreate templates files under
rekit-templates/rekit-reactwith the same structure with https://github.com/rekit/rekit-core/tree/master/plugins/rekit-react/templates
To use a custom folder for templates, you can define templateDir in rekit.json of your project.
{
"appType": "rekit-react",
"templateDir": "./my-templates"
...
}The templateDir could be a relative path to the project root or absolute path.
Last updated
Was this helpful?