UNPKG

@rivercoders/vue-datagrid

Version:
80 lines (69 loc) 3.61 kB
<!DOCTYPE html> <!--[if lt IE 7 ]> <html lang="en" class="ie6" <% if(htmlWebpackPlugin.files.manifest) { %> manifest="<%= htmlWebpackPlugin.files.manifest %>"<% } %>> <![endif]--> <!--[if IE 7 ]> <html lang="en" class="ie7" <% if(htmlWebpackPlugin.files.manifest) { %> manifest="<%= htmlWebpackPlugin.files.manifest %>"<% } %>> <![endif]--> <!--[if IE 8 ]> <html lang="en" class="ie8" <% if(htmlWebpackPlugin.files.manifest) { %> manifest="<%= htmlWebpackPlugin.files.manifest %>"<% } %>> <![endif]--> <!--[if IE 9 ]> <html lang="en" class="ie9" <% if(htmlWebpackPlugin.files.manifest) { %> manifest="<%= htmlWebpackPlugin.files.manifest %>"<% } %>> <![endif]--> <!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" class="" <% if(htmlWebpackPlugin.files.manifest) { %> manifest="<%= htmlWebpackPlugin.files.manifest %>"<% } %>> <!--<![endif]--> <head> <meta charset="utf-8"> <title><%= htmlWebpackPlugin.options.title || 'Webpack App'%></title> <% if (htmlWebpackPlugin.files.favicon) { %> <link rel="shortcut icon" href="<%= htmlWebpackPlugin.files.favicon%>"> <% } %> <% if (htmlWebpackPlugin.options.mobile) { %> <meta name="viewport" content="width=device-width, initial-scale=1"> <% } %> <% for (var css in htmlWebpackPlugin.files.css) { %> <link href="<%= htmlWebpackPlugin.files.css[css] %>" rel="stylesheet"> <% } %> <% for(var i=0; i < htmlWebpackPlugin.options.exJs.length; i++) {%> <script type="text/javascript" src="<%= htmlWebpackPlugin.options.exJs[i] %>"></script> <% } %> </head> <body> <% if (htmlWebpackPlugin.options.unsupportedBrowser) { %> <style>.unsupported-browser { display: none; }</style> <div class="unsupported-browser"> Sorry, your browser is not supported. Please upgrade to the latest version or switch your browser to use this site. See <a href="http://outdatedbrowser.com/">outdatedbrowser.com</a> for options. </div> <% } %> <% if (htmlWebpackPlugin.options.appMountId) { %> <div id="<%= htmlWebpackPlugin.options.appMountId%>"></div> <% } %> <% if (htmlWebpackPlugin.options.appMountIds && htmlWebpackPlugin.options.appMountIds.length > 0) { %> <% for (var index in htmlWebpackPlugin.options.appMountIds) { %> <div id="<%= htmlWebpackPlugin.options.appMountIds[index]%>"></div> <% } %> <% } %> <% if (htmlWebpackPlugin.options.window) { %> <script> <% for (var varName in htmlWebpackPlugin.options.window) { %> window['<%=varName%>'] = <%= JSON.stringify(htmlWebpackPlugin.options.window[varName]) %>; <% } %> </script> <% } %> <% for (var chunk in htmlWebpackPlugin.files.chunks) { %> <script src="<%= htmlWebpackPlugin.files.chunks[chunk].entry %>"></script> <% } %> <% if (htmlWebpackPlugin.options.devServer) { %> <script src="<%= htmlWebpackPlugin.options.devServer%>/webpack-dev-server.js"></script> <% } %> <% if (htmlWebpackPlugin.options.googleAnalytics) { %> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); <% if (htmlWebpackPlugin.options.googleAnalytics.trackingId) { %> ga('create', '<%= htmlWebpackPlugin.options.googleAnalytics.trackingId%>', 'auto'); <% } else { throw new Error("html-webpack-template requires googleAnalytics.trackingId config"); }%> <% if (htmlWebpackPlugin.options.googleAnalytics.pageViewOnLoad) { %> ga('send', 'pageview'); <% } %> </script> <% } %> </body> </html>