1👍
since vue can’t find what it needs to init, embed the final script or refer to DOMContentLoaded:
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Calcolatrice</title>
<link rel="stylesheet" type="text/css" href="Calcss.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="icon" href="Cal.png">
<link href="https://fonts.googleapis.com/css2?family=Belanosima:wght@600&family=Pangolin&display=swap" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/vue@2.6.14/dist/vue.js"></script>
</head>
<body>
...
<script src="CalJs.js"></script>
</body>
</html>
- [Vuejs]-Vue: Push to array on event
- [Vuejs]-How to change/trigger HTML DOM after getting ajax response in Vue
Source:stackexchange.com