Files
supabase/examples/sveltejs-todo-list/src/index.js
T
Paul Copplestone ede962481f chore: I'm settling on the example structure: {framework}-{app-description}
This is more likely how people will search - looking first for the framework which they are familiar with
2020-11-17 19:54:22 +08:00

17 lines
344 B
JavaScript

import App from './App.svelte'
var app = new App({
target: document.body,
})
export default app
// Hot Module Replacement (HMR) - Remove this snippet to remove HMR.
// Learn more: https://www.snowpack.dev/#hot-module-replacement
if (import.meta.hot) {
import.meta.hot.accept()
import.meta.hot.dispose(() => {
app.$destroy()
})
}