This package has been deprecated

Author message:

This package has been deprecated. Use @brightlayer-ui/react-native-template-routing-typescript instead.

@brightlayer-ui/react-native-template-routing

2.1.0 • Public • Published

Routing Template (JavaScript)

npm (scoped)

This is an official Brightlayer UI template used internally by the Brightlayer UI 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 Brightlayer UI React Native Component Library.

Usage

This template can be used with the Brightlayer UI CLI:

npx -p @brightlayer-ui/cli blui 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:

|── /ios                              // ios project folder
|── /android                          // android project folder
|── /assets                           // fonts and images used by the application
|── 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 @brightlayer-ui/react-native-template-routing

Weekly Downloads

1

Version

2.1.0

License

BSD-3-Clause

Unpacked Size

523 kB

Total Files

22

Last publish

Collaborators

  • brightlayerui