1
1
mirror of https://github.com/tauri-apps/tauri.git synced 2024-12-22 10:11:32 +03:00
tauri/tooling/cli.rs/templates/plugin/with-api/webview-src/index.ts

9 lines
187 B
TypeScript

{{#if license_header}}
{{ license_header }}
{{/if}}
import { invoke } from '@tauri-apps/api/tauri'
export async function execute() {
await invoke('plugin:{{ plugin_name }}|execute')
}