tauri/tooling/cli/templates/plugin/webview-src/index.ts
2023-02-16 12:24:49 -03:00

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')
}