mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-25 19:01:14 +01:00
Plugin module loading
This commit is contained in:
@@ -1 +0,0 @@
|
||||
sayHello('Plugin');
|
||||
3
src-tauri/plugins/hello-world/hello.js
Normal file
3
src-tauri/plugins/hello-world/hello.js
Normal file
@@ -0,0 +1,3 @@
|
||||
export function hello() {
|
||||
sayHello('Plugin');
|
||||
}
|
||||
5
src-tauri/plugins/hello-world/index.js
Normal file
5
src-tauri/plugins/hello-world/index.js
Normal file
@@ -0,0 +1,5 @@
|
||||
import { hello } from './hello.js';
|
||||
|
||||
export function entrypoint() {
|
||||
hello();
|
||||
}
|
||||
Reference in New Issue
Block a user