mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-08-07 18:28:39 +02:00
feat(plugins): use @tauri-apps namespace on NPM (#368)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
This commit is contained in:
co-authored by
Amr Bashir
parent
caf8456864
commit
22991af9f4
@@ -51,7 +51,7 @@ fn main() {
|
||||
Afterwards all the plugin's APIs are available through the JavaScript guest bindings:
|
||||
|
||||
```javascript
|
||||
import { watch, watchImmediate } from "tauri-plugin-fs-watch-api";
|
||||
import { watch, watchImmediate } from "@tauri-apps/plugin-fs-watch";
|
||||
|
||||
// can also watch an array of paths
|
||||
const stopWatching = await watch(
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "tauri-plugin-fs-watch-api",
|
||||
"name": "@tauri-apps/plugin-fs-watch",
|
||||
"version": "0.0.0",
|
||||
"description": "Watch files and directories for changes.",
|
||||
"license": "MIT or APACHE-2.0",
|
||||
|
||||
Reference in New Issue
Block a user