Last active
May 2, 2016 06:35
-
-
Save mdk-aza/8b09910fae59a15052da920667ed1861 to your computer and use it in GitHub Desktop.
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 lang="ja"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Documnet</title> | |
<base href=""> | |
</head> | |
<body> | |
<!--1.Display the application --> | |
<calendar-demo>Loading...</calendar-demo> | |
<!--2.load library --> | |
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet"> | |
<script src="node_modules/ng2-bootstrap/bundles/ng2-bootstrap.min.js"></script> | |
<script src="node_modules/systemjs/dist/system-polyfills.js"></script> | |
<script src="node_modules/angular2/bundles/angular2-polyfills.js"></script> | |
<script src="node_modules/systemjs/dist/system.src.js"></script> | |
<script src="node_modules/rxjs/bundles/Rx.js"></script> | |
<script src="node_modules/angular2/bundles/angular2.dev.js"></script> | |
<!--3.Configure SystemsJS --> | |
<script> | |
System.config({ | |
packages: { | |
scripts: { | |
format: 'register', | |
defaultExtension: 'js' | |
}, | |
components: { | |
format: 'register', | |
defaultExtension: 'js' | |
}, | |
"node_modules/ng2-bootstrap": { | |
"defaultExtension": "js" | |
}, | |
"node_modules/moment": { | |
defaultExtension: 'js' | |
} | |
}, | |
paths: { | |
"ng2-bootstrap": "node_modules/ng2-bootstrap/ng2-bootstrap", | |
"moment": "node_modules/moment/moment" | |
} | |
}); | |
System.import('scripts/main') | |
.then(null, console.error.bind(console)); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment