Skip to content

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

Notifications You must be signed in to change notification settings

ikhlasdansantai/expo-typescript-nativewind-template

Repository files navigation

Starter Template for Expo with Typescript and Navigation

image

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;
}

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published