system-svelte
SystemJS plugin for compiling Svelte components
Installation
jspm install sv=npm:system-sveltejspm install npm:svelte -o "{format: 'global'}"# The second command is necessary because SystemJS gets confused # about svelte's module format, this overrides it to be global
Usage
index.js
; const app = target: document data: name: 'sweet dawg!!' ;
app.component.html
<h1>Hello name</h1>