You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
How do you access runtime.js from App.svelte? #2898
Activity
samfweb commentedon Sep 10, 2023
Try without the .js:
import WailsRuntime from "../wailsjs/runtime/runtime";Alternatively:
import {EventsOn, EventsOff } from "../wailsjs/runtime/runtime";