# Crear proyecto
# React Native 0.73.6 - Expo 50.0.14 - Node 18 - React 18.2 -Tailwind
npx create-expo-app expoRN
o
bunx create-expo-app expoRN
# ATENCION node_modules/expo/AppEntry.js
import App from '../../src/App';
# Clonar
git clone https://github.com/corbaz/expoRN.git
# Crear repositorio
git init
git add .
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/corbaz/expoRN.git
git push -u origin main
o
git push --set-upstream origin main --force
✔ Downloaded and extracted project files.
✔ Installed JavaScript dependencies.
✅ Your project is ready!
To run your project, navigate to the directory and run one of the following npm commands.
```bash
- cd expoRN
- npm start o npx expo start o yarn start o yarn expo start
- npm run android
- npm run ios
- npm run webA new version of create-expo-app is available
You can update by running:
npm install -g create-expo-app
npx expo install react-native-web react-dom @expo/metro-runtime
lsof -i :8081
kill 93928
lsof -i tcp:3000import { StatusBar } from "expo-status-bar";
import { Platform, StyleSheet, Text, View } from "react-native";
export default function App() {
return (
<View style={styles.container}>
<Text
style={[
styles.title,
{
color: Platform.OS === "ios" ? "white" : "blue",
fontSize: Platform.OS === "ios" ? 40 : 42,
},
]}
>
EXPO JCC!
</Text>
<StatusBar style="auto" />
</View>
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: "lightblue",
alignItems: "center",
justifyContent: "center",
},
title: {
fontSize: 60,
fontWeight: "bold",
color: "yellow",
},
});npx expo --help
Usage $ npx expo
Commands
start
export
run:ios,
run:android,
prebuild
install
customize
config
login
logout
whoami
register
Options:
--version, -v Version number
--help, -h Usage info
For more info run a command with the --help flag
$ npx expo start --help
El código de React Native crea aplicaciones nativas multiplataforma con JavaScript y React.
https://staging-snack.expo.dev/
cloudflared tunnel --url http://localhost:8081
npm install -g eas-cli
o
bun install -g eas-cli
eas whoami # Respuesta Not logged in o jcc
eas login # Pide usuario y contraseña :jcceas --helpeas build --platform ios --profile previeweas build --platform android --profile previewGITLAB:
• git clone <repository_url> clona un repositorio de GitLab en tu máquina local.
• <repository_url> es la URL del repositorio de GitLab que deseas clonar.
• Ejemplo 1:
```shell
git clone https://gitlab.com/usuario/repo.git
• Ejemplo 2:
```shell
git clone git@gitlab.com:usuario/repo.git
• Ejemplo 3:
```shell
git clone https://usuario@gitlab.com/usuario/repo.git