Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rettend/tauri-nuxt-mobile
Nuxt + Tauri template: Mobile 📱 and Desktop 🖥️
https://github.com/rettend/tauri-nuxt-mobile
mobile-app nuxt3 project-template tauri vue3
Last synced: 4 days ago
JSON representation
Nuxt + Tauri template: Mobile 📱 and Desktop 🖥️
- Host: GitHub
- URL: https://github.com/rettend/tauri-nuxt-mobile
- Owner: Rettend
- License: mit
- Created: 2023-11-20T20:22:31.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-31T22:57:48.000Z (about 1 year ago)
- Last Synced: 2024-12-06T17:25:13.495Z (about 2 months ago)
- Topics: mobile-app, nuxt3, project-template, tauri, vue3
- Language: Vue
- Homepage:
- Size: 347 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tauri Nuxt Mobile 📱
[![Badge](https://img.shields.io/github/package-json/dependency-version/Rettend/tauri-nuxt-mobile/@tauri-apps/api?color=dea584&label=tauri)](https://beta.tauri.app/)
[![Badge](https://img.shields.io/github/package-json/dependency-version/Rettend/tauri-nuxt-mobile/dev/nuxt?color=00DC82&label=nuxt)](https://nuxt.com/)
[![Badge](https://img.shields.io/badge/UnoCSS-4D4D4D)](https://unocss.dev/)
[![code style](https://antfu.me/badge-code-style.svg)](https://github.com/antfu/eslint-config)## 🚀 Install
> [!TIP]
> Install [ni](https://github.com/antfu/ni) and choose `pnpm`.
>
> ```bash
> npm i -g @antfu/ni
> ```### Install `tauri` and `pnpm` globally
```bash
ni -g @tauri-apps/cli@next pnpm
```If you skip this step, you will need to run the tauri scripts like this: `npx tauri dev` or `nr tauri dev`.
### Install dependencies
```bash
ni
```## 🥏 Run
- dev (browser): `nr dev`
### Desktop
- dev: `tauri dev`
- build: `tauri build`### Mobile
- initialize for android/ios: `tauri [android|ios] init` (only once)
- dev: `tauri [android|ios] dev`
- open in android studio/xcode: `tauri [android|ios] open`
- build: `tauri [android|ios] build`## 🪨 Other
- Vue [Takeover mode](https://vuejs.org/guide/typescript/overview.html#volar-takeover-mode)
## 🖥️ [Desktop Version](https://github.com/Rettend/tauri-nuxt-desktop)