本指南将引导您使用 Qwik Web 框架创建 Tauri 应用程序。了解更多关于 Qwik 的信息,请访问 https://qwik.dev 。
tauri.conf.json
frontendDist
dist/
npm create qwik@latestcd <PROJECT>
yarn create qwik@latestcd <PROJECT>
pnpm create qwik@latestcd <PROJECT>
static adapter
npm run qwik add static
yarn qwik add static
pnpm qwik add static
npm install -D @tauri-apps/cli
yarn add -D @tauri-apps/cli
pnpm add -D @tauri-apps/cli
npm run tauri init
yarn tauri init
pnpm tauri init
{ "build": { "devUrl": "http://localhost:5173" "frontendDist": "../dist", "beforeDevCommand": "npm run dev", "beforeBuildCommand": "npm run build" }}
{ "build": { "devUrl": "http://localhost:5173" "frontendDist": "../dist", "beforeDevCommand": "yarn dev", "beforeBuildCommand": "yarn build" }}
{ "build": { "devUrl": "http://localhost:5173" "frontendDist": "../dist", "beforeDevCommand": "pnpm dev", "beforeBuildCommand": "pnpm build" }}
tauri
npm run tauri dev
yarn tauri dev
pnpm tauri dev
© 2024 Tauri Contributors. CC-BY / MIT