@toptal/davinci-code
Version:
Code generation package for frontend applications
13 lines (8 loc) • 326 B
Markdown
# Create page component
Creates new React page component in `/modules/<module-name>/pages`. Used for creating components that will be exposed to the router.
```bash
davinci-code new page <pageName> <moduleName>
```
Arguments:
- `moduleName` - name of the destination module
- `pageName` - name of the React Page component