1- ![ {{plugin-name}} ] ( https://github.com/tauri-apps/plugins-workspace/raw/v2/plugins/{{plugin-name}} /banner.png )
1+ ![ PLUGIN_NAME ] ( https://github.com/tauri-apps/plugins-workspace/raw/v2/plugins/PLUGIN_NAME /banner.png )
22
33<!-- description -->
44
@@ -18,9 +18,9 @@ Install the Core plugin by adding the following to your `Cargo.toml` file:
1818
1919``` toml
2020[dependencies ]
21- tauri-plugin-{{plugin-name}} = "2.0.0-beta"
21+ tauri-plugin-PLUGIN_NAME = " 2.0.0-beta"
2222# alternatively with Git:
23- tauri-plugin-{{plugin-name}} = { git = " https://github.com/tauri-apps/plugins-workspace" , branch = " v2" }
23+ tauri-plugin-PLUGIN_NAME = { git = " https://github.com/tauri-apps/plugins-workspace" , branch = " v2" }
2424```
2525
2626You can install the JavaScript Guest bindings using your preferred JavaScript package manager:
@@ -30,18 +30,18 @@ You can install the JavaScript Guest bindings using your preferred JavaScript pa
3030<!-- Add the branch for installations using git! -->
3131
3232``` sh
33- pnpm add @tauri-apps/plugin-{{plugin-name}}
33+ pnpm add @tauri-apps/plugin-PLUGIN_NAME
3434# or
35- npm add @tauri-apps/plugin-{{plugin-name}}
35+ npm add @tauri-apps/plugin-PLUGIN_NAME
3636# or
37- yarn add @tauri-apps/plugin-{{plugin-name}}
37+ yarn add @tauri-apps/plugin-PLUGIN_NAME
3838
3939# alternatively with Git:
40- pnpm add https://github.com/tauri-apps/tauri-plugin-{{plugin-name}} # v2
40+ pnpm add https://github.com/tauri-apps/tauri-plugin-PLUGIN_NAME #v2
4141# or
42- npm add https://github.com/tauri-apps/tauri-plugin-{{plugin-name}} # v2
42+ npm add https://github.com/tauri-apps/tauri-plugin-PLUGIN_NAME #v2
4343# or
44- yarn add https://github.com/tauri-apps/tauri-plugin-{{plugin-name}} # v2
44+ yarn add https://github.com/tauri-apps/tauri-plugin-PLUGIN_NAME #v2
4545```
4646
4747## Usage
@@ -53,7 +53,7 @@ First you need to register the core plugin with Tauri:
5353``` rust
5454fn main () {
5555 tauri :: Builder :: default ()
56- . plugin (tauri_plugin_ {{ plugin - name }} :: init ())
56+ . plugin (tauri_plugin_PLUGIN_NAME :: init ())
5757 . run (tauri :: generate_context! ())
5858 . expect (" error while running tauri application" );
5959}
0 commit comments