-
-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
20 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
//import svelte from 'svelte/compiler.js'; | ||
import svelte from 'svelte/compiler.js'; | ||
//const svelte = require('svelte/compiler.js'); | ||
|
||
// The "component" variable gets injected by client.go. | ||
//let component; | ||
|
||
// Create component JS that can run in the browser. | ||
//export let { js, css } = svelte.compile('/home/jimafisk/Desktop/aaa/layout/content/pages.svelte', { | ||
// css: false | ||
//}); | ||
export let { js, css } = svelte.compile('/home/jimafisk/Desktop/aaa/layout/content/pages.svelte', { | ||
css: false | ||
}); | ||
|
||
// Return the JS and CSS object. | ||
//(() => { js, css })(); | ||
//(() => js)(); | ||
(() => "test")(); | ||
//(() => component)(); | ||
(() => js)(); | ||
//return "test"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters