Welcome to the gluestack-ui Starter Kit! This project is designed to help you kickstart your application development with React and React Native. It supports both Next.js and Expo, providing a flexible and modular architecture.
- Clone the repository:
git clone https://github.com/gluestack/gluestack-ui-starter-kits.git
cd gluestack-ui-starter-kits
- Install dependencies:
Go to expo-app
, next
and universal
folders and run the following command in each:
yarn
To run the Next.js application, run the following command:
cd next && yarn dev
To run the Expo application, run the following command:
cd expo-app && yarn start
For the Expo app in the universal project, run the following command:
cd universal && yarn run:expo
For the Next.js app in the universal project, run the following command:
cd universal && yarn run:next
next
: Contains the Next.js application along with components and screens.
expo
: Contains the Expo application along with components and screens.
app/next
: Contains the Next.js application.app/expo
: Contains the Expo application.packages/components
: Shared components used across platforms.packages/screens
: Shared screens that can be used in both Next.js and Expo projects.packages/shared
: Shared assets
You can copy the project of your choice (Next.js, Expo, or Universal) and start building your application. The starter kit provides a basic structure and shared components to help you get started quickly.
If you have copied the universal project and want to eject the project, you can run the following command:
cd universal && yarn eject