Optimize viz.js async rendering through webpack chunk

This commit is contained in:
Yukai Huang
2016-10-11 17:15:06 +08:00
parent d3315506dc
commit 56c5378939
8 changed files with 36 additions and 35 deletions

View File

@@ -185,7 +185,7 @@
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="<%- url %>/build/vendor.bundle.js" defer></script>
<script src="<%- url %>/build/vendor.js" defer></script>
<% if(useCDN) { %>
<script src="//ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js" defer></script>
<script src="//cdn.jsdelivr.net/velocity/1.2.3/velocity.min.js" defer></script>