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

9 lines
187 B
TypeScript
Raw Normal View History

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