Skip to content

Commit

Permalink
Update web.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nandorojo authored Dec 30, 2023
1 parent d4e7ae7 commit 38f0520
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions docs/docs/web.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,8 @@ Moti works on all platforms, including Web. Make sure you've installed `react-na

## Expo Web support

The following applies to React Native Web apps that **do not** use Next.js.

Expo Web should work out of the box.

Install `@expo/webpack-config` to your `devDependencies`:

```bash npm2yarn
npm install -D @expo/webpack-config
```

Then run `yarn web` and you're done!

## Expo Router / Metro Web

You'll need to add `mjs` to your `sourceExts` in `metro.config.js`. For example:
Expand Down

0 comments on commit 38f0520

Please sign in to comment.