tauri/tooling/cli/templates/plugin/webview-src/index.ts
2023-10-17 09:40:20 -03:00

9 lines
191 B
TypeScript

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