How to use SvelteKit to create a multi platform offline, online, WebView, Browser app?

Viewed 279

I'm looking to use C# Xamarin together with SvelteKit to create a multiplatform app that will run in a native web view as well as in a browser.

How do I go about using SvelteKit to create an app for the WebView? I'd like to download all the required parts of the web app onto the device and run those files inside a WebView, so that the GUI and the app are available offline.

Maybe there's a built in sveltekit command for this, or maybe I just copy the files from the normal build?

Also what's the best way to figure out whether the app is running in a webview or a browser?

0 Answers
Related