Vue single page, index introduces static, other routes refresh error

introduce dependencies in index.html

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <link rel="icon" href="./favicon.ico">
    <title>SUPER_MAN</title>
  </head>
  <body>
    <div id="app"></div>
    <!-- built files will be auto injected -->
      <script type="text/javascript" src="./static/js/qunee-min.js"></script>
  </body>
</html>

* *
clipboard.png
bold text * *

when other routes refresh the page, they report an error: these routes have a feature that is added dynamically.
that is, router.addRouter ()

Uncaught SyntaxError: Unexpected token <

Sep.23,2021

turns out to be a path problem. Get rid of it. That's fine

Menu