tauri-plugin-file-extra
v0.0.3
Published
核心 API 中未包含的其他文件方法
Downloads
5
Readme
Install
src-tauri/Cargo.toml
[dependencies]
tauri-plugin-fs = { git = "https://gitee.com/zaoangod/tauri-plugin-workspace", branch = "v1" }
npm add https://gitee.com/zaoangod/tauri-plugin-file-extra#v1
# or
pnpm add https://gitee.com/zaoangod/tauri-plugin-file-extra#v1
# or
yarn add https://gitee.com/zaoangod/tauri-plugin-file-extra#v1
Usage
src-tauri/src/main.rs
fn main() {
tauri::Builder::default()
.plugin(tauri_plugin_file_extra::init())
.run(tauri::generate_context!())
.expect("error while running tauri application");
}
import { xxx } from 'tauri-plugin-file-extra'
...