Created
November 8, 2013 18:39
-
-
Save Stuk/7375513 to your computer and use it in GitHub Desktop.
Using montage with deep urls
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>resolve</title> | |
<!-- Base URL ensures montage.js and style.css are loaded from the root of the server | |
Make sure this comes before any `script`, `style`, or `link` tags to ensure that | |
resources are loaded from the correct place. --> | |
<base href="/"> | |
<!-- data-package attribute tells montage to load the package from the root of the server --> | |
<script src="node_modules/montage/montage.js" data-package="/" async></script> | |
<link rel="stylesheet" href="assets/style/style.css" /> | |
<script type="text/montage-serialization"> | |
{ | |
"owner": { | |
"prototype": "montage/ui/loader.reel", | |
"properties": { | |
"mainModule": "ui/welcome.reel", | |
"mainName": "Welcome" | |
} | |
} | |
} | |
</script> | |
</head> | |
<body> | |
<span class="loading"></span> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment