Michael Aufreiter (@_mql) 's Twitter Profile
Michael Aufreiter

@_mql

Timeless web apps. My homepage joined a social network → michaelaufreiter.com. Also: editable.website, postowl.com, and letsken.com.

ID: 7040032

linkhttps://letsken.com/michael calendar_today23-06-2007 21:44:34

5,5K Tweet

1,1K Followers

2,2K Following

Michael Aufreiter (@_mql) 's Twitter Profile Photo

In Svedit I got Document.svelte.js, holding reactive state that drives the editor. However, I want to use that Document class outside of Svelte/Kit, like in a Node.js migration script. What options do I have? - vite-node? - move all $state outside of Document? - ???

In Svedit I got Document.svelte.js, holding reactive state that drives the editor.

However, I want to use that Document class outside of Svelte/Kit, like in a Node.js migration script.

What options do I have? 
- vite-node?
- move all $state outside of Document?
- ???