Aller au contenu
Tauri

Qwik

Ce contenu n’est pas encore disponible dans votre langue.

This guide will walk you through creating your Tauri app using the Qwik web framework. Learn more about Qwik at https://qwik.dev.

Checklist

  • Use SSG. Tauri doesn’t support server-based solutions.
  • Use dist/ as frontendDist in tauri.conf.json.

Example Configuration

  1. npm create qwik@latest
    cd <PROJECT>
  2. npm run qwik add static
  3. npm install -D @tauri-apps/cli@latest
  4. npm run tauri init
  5. tauri.conf.json
    {
    "build": {
    "devUrl": "http://localhost:5173"
    "frontendDist": "../dist",
    "beforeDevCommand": "npm run dev",
    "beforeBuildCommand": "npm run build"
    }
    }
  6. npm run tauri dev

© 2024 Tauri Contributors. CC-BY / MIT