A Starter template for building cross-platform mobile and web applications using Capacitor, SvelteKit, and Tailwind CSS.
| Script | Description |
|---|---|
dev:web |
Start development server for web (port 5700) |
dev:android |
Open Android Studio for Android development |
dev:ios |
Open Xcode for iOS development (macOS only) |
build:web |
Build for web deployment |
build:android |
Build for Android deployment |
build:ios |
Build for iOS deployment (macOS only) |
preview |
Preview web build locally |
check |
Run TypeScript and Svelte checks |
check:watch |
Run checks in watch mode |
format |
Format code with Prettier |
lint |
Run ESLint and Prettier checks |
sync |
Sync Capacitor plugins and web assets |
The Capacitor configuration is in capacitor.config.ts:
const config: CapacitorConfig = {
appId: 'app.getthera.app',
appName: 'thera',
webDir: 'build'
};
Update the appId and appName to match your application.
Tailwind CSS is configured with:
src/routes/layout.cssTypeScript is configured with:
Feel free to submit issues and enhancement requests to help improve this starter template.
This project is open source and available under the MIT License.
Built with <3 using Svelte 5, Capacitor, and Tailwind CSS