tauri/tooling/cli/templates/plugin/webview-src/index.ts

9 lines
186 B
TypeScript

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