Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Routing and navigation for React Native and Web apps

NotificationsYou must be signed in to change notification settings

react-navigation/react-navigation

Repository files navigation

Build StatusCode CoverageMIT License

Routing and navigation for your React Native apps.

Documentation can be found atreactnavigation.org.

This branch contains the code for the latest stable version of React Navigation. You can find the code for previous versions in the following branches:

Package Versions

NameLatest Version
@react-navigation/bottom-tabsbadge
@react-navigation/corebadge
@react-navigation/devtoolsbadge
@react-navigation/drawerbadge
@react-navigation/elementsbadge
@react-navigation/material-top-tabsbadge
@react-navigation/native-stackbadge
@react-navigation/nativebadge
@react-navigation/routersbadge
@react-navigation/stackbadge
react-native-drawer-layoutbadge
react-native-tab-viewbadge

Contributing

Please read through ourcontribution guide to get started!

Installing from a fork on GitHub

Since we use a monorepo, it's not possible to install a package from the repository URL. If you need to install a forked version from Git, you can usegitpkg.

First installgitpkg:

yarn global add gitpkg

Then follow these steps to publish and install a forked package:

  1. Fork this repo to your account and clone the forked repo to your local machine
  2. Open a Terminal andcd to the location of the cloned repo
  3. Runyarn to install any dependencies
  4. If you want to make any changes, make them and commit
  5. Runyarn lerna run prepack to perform the build steps
  6. Nowcd to the package directory that you want to use (e.g.cd packages/stack for@react-navigation/stack)
  7. Rungitpkg publish to publish the package to your repo

After publishing, you should see something like this:

Package uploaded to git@github.com:<user>/<repo>.git with the name<name>

You can now install the dependency in your project:

yarn add<user>/<repo>.git#<name>

Remember to replace<user>,<repo> and<name> with right values.


[8]ページ先頭

©2009-2025 Movatter.jp