Home

Issue: 1580

question: How to add an external JS before the end of body tag , before the app template js, after html?

[issue link]
<!DOCTYPE html>
<html {{ HTML_ATTRS }}>

<head>
  <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
  <link rel="stylesheet" href="//cdnstatic.ydmap.com.cn/static/normalize.css/7.0.0/normalize.css">
  {{ HEAD }}
  <!--[if lt IE 9]>
      <script src="/static/js/browser-upgrade-tips.js"></script>
  <![endif]-->
</head>

<body {{ BODY_ATTRS }}>
  {{ APP }}
  <script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
  <script src="//cdnstatic.ydmap.com.cn/static/es6-promise/4.1.1/es6-promise.auto.min.js"></script>
  <!-- {{app}} here? It seems not what I want.-->
</body>

</html>
This question is available on Nuxt.js community (#c1410)