Tauri plugin init
2024-01-31 09:43 更新
- npm
npm run tauri plugin init
- Yarn
yarn tauri plugin init
- pnpm
pnpm tauri plugin init
- Cargo
cargo tauri plugin init
Usage: cargo-tauri plugin init [OPTIONS] --name <PLUGIN_NAME>
Options:
-n, --name <PLUGIN_NAME> Name of your Tauri plugin
-v, --verbose... Enables verbose logging
--api Initializes a Tauri plugin with TypeScript API
-d, --directory <DIRECTORY> Set target directory for init [default: /home/runner/work/tauri-docs/tauri-docs]
-t, --tauri-path <TAURI_PATH> Path of the Tauri project to use (relative to the cwd)
-a, --author <AUTHOR> Author name
-h, --help Print help
-V, --version Print version
以上内容是否对您有帮助:
更多建议: