Skip to content

Mert-409/idx-expo-templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Project IDX React Native Expo Templates

This script in development.

Open in IDX

TR

Project IDX kullanıyorsanız ve bir React Native projesi oluşturduğunuzda Expo'nun @latest template'i gelecektir. Bu template her ne kadar iyi olsada karışık dosya yapısı sebebiyle yeni öğrenen kişilerin ismini zorlaştırıyor.

Bu script, IDX'te size blank template'ini kullanan bir Expo uygulaması oluşturacaktır. Template değiştirmek isterseniz kodu düzenleyebilirsiniz.

Nasıl kullanılır?

Bash script'i - Tavsiye edilir

Öncelikle idx-expo-templates.sh dosyasını indirin.

Sonra Project IDX'te React Native şablonuyla yeni bir proje oluşturun.

Aşağıdaki butona basarak oluşturma ekranına gidebilirsiniz.

Open in IDX

Android emülatörü ve uygulamanız yanda gelene kadar bekleyin. Bu işlemleri yaparken Android emülatörünü asla kapatmayın.

Sonra IDX'te sağ üstteki 3 çizgiye tıklayın, File > Open folder kısmından home/user/ klasörüne gidin ve script'i o klasöre bırakın.

Sonra Ctrl+Shift+" tıklayarak yeni bir terminal açın.

bash idx-expo-templates.sh proje-adi komutunu çalıştırın. proje-adi bölümüne proje adını yazın. Yazmazsanız otomatik olarak rn-proje_ adıyla oluşturulacaktır.

Eğer Expo yüklü değilse sizden yüklemenizi isteyecektir. y yazarak devam edebilirsiniz.

Script sizin için gereken işlemleri yapacak.

Node.js script'i

Öncelikle idx-expo-templates.js dosyasını indirin.

Sonra Project IDX'te React Native şablonuyla yeni bir proje oluşturun.

Aşağıdaki butona basarak oluşturma ekranına gidebilirsiniz.

Open in IDX

Android emülatörü ve uygulamanız yanda gelene kadar bekleyin. Bu işlemleri yaparken Android emülatörünü asla kapatmayın.

Sonra IDX'te sol üstteki 3 çizgiye tıklayın, File > Open folder kısmından home/user/ klasörüne gidin ve script'i o klasöre bırakın.

Sonra Ctrl+Shift+" tıklayarak yeni bir terminal açın.

npm install fs-extra komutunu çalıştırın.

bash idx-expo-templates.sh proje-adi komutunu çalıştırın. proje-adi bölümüne proje adını yazın. Yazmazsanız otomatik olarak rn-proje_ adıyla oluşturulacaktır.

Eğer Expo yüklü değilse sizden yüklemenizi isteyecektir. y yazarak devam edebilirsiniz.

Script sizin için gereken işlemleri yapacak.

Son olarak IDX'te sol üstteki 3 çizgiye tıklayın, File > Open folder kısmından home/user/proje-adi klasörüne gidin ve çalışmaya başlayın.


EN

If you are using Project IDX and create a React Native project, Expo's @latest template will come. Although this template is good, it makes it difficult for beginners to name it because of its complicated file structure.

This script will create an Expo application in IDX that uses the blank template. If you want to change the template, you can edit the code.

How ​​to use?

Bash script - Recommended

First, download the idx-expo-templates.sh file.

Then create a new project in Project IDX with the React Native template.

You can go to the creation screen by pressing the button below.

Open in IDX

Wait until the Android emulator and your application come up. Never close the Android emulator while doing these operations.

Then click on the 3 lines at the top right of IDX, go to the home/user/ folder from File > Open folder and drop the script into that folder.

Then open a new terminal by clicking Ctrl+Shift+".

Run the command bash idx-expo-templates.sh project-name. Write the project name in the project-name section. If you don't write it, it will be created automatically with the name rn-proje_.

If Expo is not installed, it will ask you to install it. You can continue by typing y.

The script will do the necessary operations for you.

Node.js script

First, download the idx-expo-templates.js file.

Then create a new project with the React Native template in Project IDX.

You can go to the creation screen by pressing the button below.

Open in IDX

Wait until the Android emulator and your application appear next. Never close the Android emulator while doing these operations.

Then click on the 3 lines on the top left in IDX Click, go to the home/user/ folder from File > Open folder and drop the script into that folder.

Then open a new terminal by clicking Ctrl+Shift+".

Run the command npm install fs-extra.

Run the command bash idx-expo-templates.sh project-name. Write the project name in the project-name section. If you don't write it, it will be created automatically with the name rn-proje_.

If Expo is not installed, it will ask you to install it. You can continue by typing y.

The script will do the necessary operations for you.

Finally, click on the 3 lines on the top left of IDX, go to the home/user/project-name folder from File > Open folder and start working.

About

Template replacement support for React Native Expo on Project IDX.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published