@nrwl/react-native:application
Create a React Application for Nx.
Usage
nx generate application ...
nx g app ... #same
By default, Nx will search for application
in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
nx g @nrwl/react-native:application ...
Show what will be generated without writing to disk:
nx g application ... --dry-run
Examples
Generate apps/nested/myapp
:
nx g @nrwl/react-native:app myapp --directory=nested
Use class components instead of functional components:
nx g @nrwl/react-native:app myapp --classComponent