Skip to content

crewdevio/svelte-native

Repository files navigation

Svelte Native

This template allows you to create native applications for Android and iOS using svelte (v4), tailwind, capacitor, konsta UI, shadcn-svelte.

Get started

basic requirements for web development:

for ios development:

Note: iOS 13+ is supported. Xcode 14.1+ is required (see Environment Setup). Capacitor uses WKWebView, not the deprecated UIWebView.

for android development:

Note: API 22+ (Android 5.1 or later) is supported, which represents over 99% of the Android market. Capacitor requires an Android WebView with Chrome version 60 or later. On Android 5-6, and 10+ Capacitor uses the Android System WebView. On Android 7-9, Google Chrome provides the WebView.

Development

first use template or clone or fork this repo:

npx degit crewdevio/svelte-native my-app

install all dependencies:

pnpm install

start web project:

pnpm run dev

Open App in ios emulator

compile the frontend first:

pnpm run build

then sync the code with ios/android

pnpm run sync

run the project in the emulator:

pnpm run start:ios

Open App in android emulator

compile the frontend first:

pnpm run build

then sync the code with ios/android

pnpm run sync

run the project in the emulator:

pnpm run start:android

FAQ

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy