diff options
author | Indrajith K L | 2018-02-15 14:24:00 +0530 |
---|---|---|
committer | Indrajith K L | 2018-02-15 14:24:00 +0530 |
commit | 506c63b251aaf537015aa7c05e1cab80d435e35d (patch) | |
tree | bfb1b9af9f3596c445dc256d7858696c571b0590 /src/main.js | |
download | svelte-app-506c63b251aaf537015aa7c05e1cab80d435e35d.tar.gz svelte-app-506c63b251aaf537015aa7c05e1cab80d435e35d.tar.bz2 svelte-app-506c63b251aaf537015aa7c05e1cab80d435e35d.zip |
Initial Commit - Fixed the 'npm run dev' command issue. Original script doesn't build files when changed.
Diffstat (limited to 'src/main.js')
-rw-r--r-- | src/main.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main.js b/src/main.js new file mode 100644 index 0000000..9af70cb --- /dev/null +++ b/src/main.js @@ -0,0 +1,10 @@ +import App from './App.html'; + +const app = new App({ + target: document.body, + data: { + name: 'This is my name' + } +}); + +export default app;
\ No newline at end of file |