W3Cschool
恭喜您成為首批注冊用戶
獲得88經(jīng)驗值獎勵
npm run tauri plugin dev
yarn tauri plugin dev
pnpm tauri plugin dev
cargo tauri plugin dev
Usage: cargo-tauri dev [OPTIONS] [ARGS]...
Arguments:
[ARGS]... Command line arguments passed to the runner. Arguments after `--` are passed to the application
Options:
-r, --runner <RUNNER> Binary to use to run the application
-v, --verbose... Enables verbose logging
-t, --target <TARGET> Target triple to build against
-f, --features [<FEATURES>...] List of cargo features to activate
-e, --exit-on-panic Exit on panic
-c, --config <CONFIG> JSON string or path to JSON file to merge with tauri.conf.json
--release Run the code in release mode
--no-watch Disable the file watcher
--no-dev-server Disable the dev server for static files
--port <PORT> Specify port for the dev server for static files. Defaults to 1430 Can also be set using `TAURI_DEV_SERVER_PORT` env var
-h, --help Print help
-V, --version Print version
此命令將在開發(fā)模式下打開 WebView。它使用文件中的屬性。?build.devPath
??src-tauri/tauri.conf.json
?
如果已向?qū)傩暂斎朊?,則此命令將在命令之前執(zhí)行。?build.beforeDevCommand
??dev
?
如果您未使用 ,請確保您的正確,如果使用開發(fā)服務(wù)器,請確保在使用此命令之前已啟動。?build.beforeDevCommand
??build.devPath
?
Copyright©2021 w3cschool編程獅|閩ICP備15016281號-3|閩公網(wǎng)安備35020302033924號
違法和不良信息舉報電話:173-0602-2364|舉報郵箱:jubao@eeedong.com
掃描二維碼
下載編程獅App
編程獅公眾號
聯(lián)系方式:
更多建議: