Files
calorie-tracker/src/main.ts
2023-05-18 06:50:33 +03:00

16 lines
284 B
TypeScript

import './styles.pcss';
import App from './App.svelte';
const target = document.getElementById('app');
if (!target)
throw new Error(
"The element with id of 'app' wasn't found on the base html file."
);
const app = new App({
target,
intro: true
});
export default app;