Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

next-dev-team/rn-next-boilerplate

Repository files navigation

🚀 rn-next-boilerplate

React Native React Navigation V5

KittenApp is React Native application. This project is uses latest version of react-navigation (v6) and tailwind css for react native system to design UI components

Technologies Use

Prerequisites

Tailwind intellisense

// vs code setting.json
  "tailwindCSS.experimental.classRegex": [
    ["tw\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"],
    ["tw1\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"],
    ["tw2\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"],
    ["tw3\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"],
    // suggection for props name include  Cls="bg-blue-700"
    ["Cls=[\"'`]([^\"'`]*)"],
    ["Clx=[\"'`]([^\"'`]*)"],
    ["className:.[\"'`]([^\"'`]*)"],
    ["className:[\"'`]([^\"'`]*)"],
    ["className:.clx\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"],
    "tw`([^`]*)",
    "tw\\.style\\(`([^)]*)`\\)",
    "tw\\.style\\(`([^)]*)\\)",
    "twColor\\(`([^)]*)`\\)"
  ],

Getting Started

  1. Clone this repo, https://github.com/rimsila/kitten-app.git

  2. Go to project's root directory, cd kitten-app

  3. Run yarn to install dependencies

  4. Run yarn pod or yarn pod m1 to install pod on ios

  5. Start developments:

    • On Android:
      • Run react-native run-android or Use Android Studio (Recommended)
    • On iOS:
      • Run yarn react-native run-ios Or
      • Open yarn xcode in Xcode
      • Hit Run after selecting the desired device
  6. Enjoy!!!