Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/corbaz/exporn
https://github.com/corbaz/exporn
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/corbaz/exporn
- Owner: corbaz
- Created: 2024-03-12T13:17:41.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-04-21T13:59:11.000Z (8 months ago)
- Last Synced: 2024-04-21T16:54:45.901Z (8 months ago)
- Language: TypeScript
- Size: 704 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
```bash
# Crear proyecto
# React Native 0.73.6 - Expo 50.0.14 - Node 18 - React 18.2 -Tailwind
npx create-expo-app expoRNo
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 initgit 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 web
```A new version of `create-expo-app` is available
You can update by running:```bash
npm install -g create-expo-appnpx expo install react-native-web react-dom @expo/metro-runtime
lsof -i :8081
kill 93928
lsof -i tcp:3000
``````typescript
import { StatusBar } from "expo-status-bar";
import { Platform, StyleSheet, Text, View } from "react-native";export default function App() {
return (
EXPO JCC!
);
}const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: "lightblue",
alignItems: "center",
justifyContent: "center",
},
title: {
fontSize: 60,
fontWeight: "bold",
color: "yellow",
},
});
```## Expo CLI
npx expo --help
Usage
$ npx expoCommands
start
export
run:ios,
run:android,
prebuild
install
customize
config
login
logout
whoami
registerOptions:
--version, -v Version number
--help, -h Usage info
For more info run a command with the --help flag
$ npx expo start --help## Expo Snack - Emulador Online
El código de React Native crea aplicaciones nativas multiplataforma con JavaScript y React.
https://staging-snack.expo.dev/
## Cloudflared
cloudflared tunnel --url http://localhost:8081
## EAS-cli Expo Application Service
```bash
npm install -g eas-cli
o
bun install -g eas-clieas whoami # Respuesta Not logged in o jcc
eas login # Pide usuario y contraseña :jcc
``````bash
eas --help
``````bash
eas build --platform ios --profile preview
```
----```bash
eas build --platform android --profile preview
```GITLAB:
• git clone clona un repositorio de GitLab en tu máquina local.
• 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 [email protected]:usuario/repo.git• Ejemplo 3:
```shell
git clone https://[email protected]/usuario/repo.git