forked from pptx704/capacitor-template
Reviewed-on: pptx704/capacitor-template#1 Co-authored-by: MasumAhmed19 <masum.ahmed1328@gmail.com> Co-committed-by: MasumAhmed19 <masum.ahmed1328@gmail.com> Reviewed-on: pptx704/capacitor-template#2 Co-authored-by: pptx704 <rafeedm.bhuiyan@gmail.com>
This commit is contained in:
37
README.md
37
README.md
@ -1,6 +1,8 @@
|
||||
# capacitor-template
|
||||
# CapacitorTemplate
|
||||
|
||||
Template repository for all FastAPI backend projects developed by Omukk.
|
||||
A modern React + Vite + Tailwind CSS starter template optimized for building cross-platform mobile applications using [Capacitor](https://capacitorjs.com/). This template provides the essential tools and configurations needed to build, preview, and deploy apps to iOS and Android platforms developed by Omukk.
|
||||
|
||||
---
|
||||
|
||||
## Components
|
||||
- Basic Capacitor dependencies
|
||||
@ -19,5 +21,32 @@ Template repository for all FastAPI backend projects developed by Omukk.
|
||||
git clone git@git.omukk.dev/<username>/<repo>.git
|
||||
cd <repo>
|
||||
```
|
||||
3. Check Capacitor [quickstart](https://capacitorjs.com/docs/getting-started) to get started
|
||||
4. Your code should go to `www` folder.
|
||||
|
||||
## 🧰 Installation
|
||||
|
||||
Ensure you have [Node.js](https://nodejs.org/) and [npm](https://www.npmjs.com/) installed.
|
||||
|
||||
```bash
|
||||
|
||||
# Install dependencies
|
||||
npm install
|
||||
|
||||
# Initialize Capacitor
|
||||
npx cap init
|
||||
|
||||
# Add iOS and Android platforms
|
||||
npx cap add ios
|
||||
npx cap add android
|
||||
|
||||
# Build the web assets
|
||||
npm run build
|
||||
|
||||
# Sync with Capacitor
|
||||
npx cap sync
|
||||
|
||||
# Open platforms
|
||||
npx cap open ios
|
||||
npx cap open android
|
||||
```
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user