Skip to content

Commit

Permalink
docs: minor update to RN docs (#1877)
Browse files Browse the repository at this point in the history
  • Loading branch information
vonovak authored Mar 7, 2024
1 parent 80eb8fd commit 93204b9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions website/docs/tutorials/react-native.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ description: Learn how to add internationalization to a React Native application

In this tutorial, we'll learn how to add internationalization to an existing application in React Native. Before going further, please follow the [setup guide](/docs/tutorials/setup-react.mdx) for installation and setup instructions.

:::caution Warning

With the dependencies installed and set up, before running your app, please clear your Metro bundler cache with `npx react-native start --reset-cache` or `npx expo start -c` (if you use Expo).

:::

The React Native tutorial is similar to the one for [React](/docs/tutorials/react.md) and we highly recommend you read that one first because it goes into greater detail on many topics. Here, we will only cover parts that are relevant for React Native.

:::tip Hint
Expand Down
4 changes: 3 additions & 1 deletion website/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@ const config: Config = {
tagline: "Internationalization Framework for Global Products",
url: process.env["SITE_URL"] || "https://lingui.dev",
baseUrl: "/",
onBrokenLinks: "throw",
favicon: "img/favicon.ico",
organizationName: "lingui",
onBrokenLinks: "throw",
onBrokenAnchors: "throw",
onBrokenMarkdownLinks: "throw",
themeConfig: {
colorMode: {
disableSwitch: false,
Expand Down

0 comments on commit 93204b9

Please sign in to comment.