mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-10 04:22:12 +00:00
Updated the template using `npx degit sveltejs/template my-svelte-project` I also added a `yarn.lock` file so dependencies don't break for future deployments. Related to https://github.com/Samuel-Martineau/generator-svelte/issues/7
10 lines
132 B
JavaScript
10 lines
132 B
JavaScript
import App from './App.svelte';
|
|
|
|
const app = new App({
|
|
target: document.body,
|
|
props: {
|
|
name: 'world'
|
|
}
|
|
});
|
|
|
|
export default app; |