{
...
"type": "module",
"dependencies": {
"vue": "^3.2.36"
}
}
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<script src="main.js"></script>
</body>
</html>
import Vue from 'vue'
Uncaught SyntaxError: Cannot use import statement outside a module (at main.js:1:1)