mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(docs-generator): make it load faster
This commit is contained in:
5
docs/templates/demo_index.template.html
vendored
5
docs/templates/demo_index.template.html
vendored
@@ -8,10 +8,11 @@
|
||||
<link rel="stylesheet" href="/<$ doc.demoData.css.path $>">
|
||||
<@ endif @>
|
||||
<script src="http://code.ionicframework.com/<$ version.current.name $>/js/ionic.bundle.min.js"></script>
|
||||
<script src="<@if version.current.folder @><$ '/'+version.current.folder @><@ endif @>/demo-list.js"></script>
|
||||
<script src="/<$ version.current.folder $>/demo-list.js"></script>
|
||||
<@ if doc.demoData and doc.demoData.javascript @>
|
||||
<script src="/<$ doc.demoData.javascript.path $>"></script>
|
||||
<@ endif @>
|
||||
<script src="demo.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@@ -113,8 +114,6 @@
|
||||
}
|
||||
</style>
|
||||
|
||||
<script src="demo.js"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user