15 lines
369 B
TypeScript
15 lines
369 B
TypeScript
// This file is required by the index.html file and will
|
|
// be executed in the renderer process for that window.
|
|
// All of the Node.js APIs are available in this process.
|
|
|
|
import App from './renderer/App.svelte';
|
|
|
|
((): void =>
|
|
new App({
|
|
target: document.querySelector('#app'),
|
|
props: {
|
|
// we'll learn about props later
|
|
answer: 42,
|
|
},
|
|
}))();
|