Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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 🖥️

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)