expo-typescript-nativewind-template

This boilerplate project provides a quick and easy starting point for building modern, responsive React Native apps with Expo, TypeScript, and NativeWind.

Stars
1
Committers
2

Starter Template for Expo with Typescript and Navigation

including

  • expo-router
  • nativewind
  • tailwind 3.3.2
  • Path Alias (@)
  • typescript (ofc :D)
  • @expo/vector-icons
  • Manrope fonts

How To Running your application 🤔

install dep

npm install
or 
yarn install

Run your app on emulator or your mobile phone

npm run start -c
or 
npm run android

Note

If you encounter the following error message:

Cannot find module '../assets/images/icon.png' or its corresponding type declarations.

You need to declare the type for the respective file format. You can achieve this by adding the following code to app.d.ts

declare module "*.png" {
  const value: ImageSourcePropType;
  export default value;
}

declare module "*.jpg" {
  const value: ImageSourcePropType;
  export default value;
}

declare module "*.jpeg" {
  const value: ImageSourcePropType;
  export default value;
}