RenaiApp/src/renderer.ts

15 lines
363 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.
// @ts-ignore
import App from './app/App.svelte';
export default new App({
target: document.querySelector('#app'),
props: {
// we'll learn about props later
answer: 42,
},
});