Unitools | Install in Expo | By GeekyAnts
Steps
- Installation - Install all the
@unitools
packages required. - Configuration - Please configure the project correctly, refer this docs
- File Setup - Add Support for
.expo-web.{js|ts|jsx|tsx}
file extension. - Aliases Setup - Add aliasing of
@unitools/*
packages to@unitools/*-expo
andreact-native
toreact-native-web
.
Installation
Run the following commands to install all the packages supported under unitools.
Install the required peer-dependencies.
Add aliasing
For @unitools/image
, @unitools/link
, and @unitools/router
to work in Expo we need to alias
it with @unitools/image-expo
, @unitools/link-expo
, and @unitools/router-expo
respectively