@daileytj/pxb-react-native-template-routing

1.0.0-alpha.0 • Public • Published

Routing Template (JavaScript)

npm (scoped)

This is an official PX Blue template used internally by the PX Blue CLI.

This template includes the installation and initial setup of routing using React Navigation. It includes several placeholder routes/screens and a Drawer navigator from the PX Blue React Native Component Library.

Usage

This template can be used with the PX Blue CLI:

npx -p @pxblue/cli pxb new react-native --name=myapp --cli=rnc --language=js --template=routing

Project Structure

Projects created using this template will start out with the following file structure:

└── root
└── App.js                            // app entry point
└── pages                             // sample application pages
└── router                             
    |-- index.js                      // sets up routing
    └── navigation-drawer.js          // sets up Drawer

Package Sidebar

Install

npm i @daileytj/pxb-react-native-template-routing

Weekly Downloads

0

Version

1.0.0-alpha.0

License

BSD-3-Clause

Unpacked Size

521 kB

Total Files

19

Last publish

Collaborators

  • daileytj