@daileytj/pxb-react-native-template-blank v1.7.0
React Native CLI Templates
These are project templates that are used by the PX Blue CLI when starting a new PX Blue project. They are used behind the scenes by the PX Blue CLI.
Available Templates
Blank
The Blank template provides a bare-bones application with PX Blue components and themes automatically configured and ready to use. This template is available in TypeScript(recommended) and JavaScript.
Routing
The Routing template provides all of the essential PX Blue configuration as well as additional configuration for using React Navigation. It also adds a navigation Drawer to switch between several sample screens. This template is available in TypeScript(recommended) and JavaScript.
Authentication
The Authentication template includes everything from the Routing template and also installs and configures the PX Blue react-native-auth-workflow package to automatically wrap the main application with functions and screens for Login, Registration, Change Password, etc. This template is available in TypeScript(recommended) and JavaScript.
placeholder landing page | navigation drawer & routing | login & registration screens | |
---|---|---|---|
Blank | ✅ | ||
Routing | ✅ | ✅ | |
Authentication | ✅ | ✅ | ✅ |
Screenshots
Blank Template
Routing Template With Collapsed Drawer
Routing Template With Expanded Drawer
Authentication Template Login Page
Usage
You can use these templates with the PX Blue CLI (recommended):
npx -p @pxblue/cli pxb new react-native --cli=rnc --template=blank
npx -p @pxblue/cli pxb new react-native --cli=rnc --template=routing
npx -p @pxblue/cli pxb new react-native --cli=rnc --template=authentication