在 httpVueLoader() 里引入vue文件即可
<!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">
<title>陰陽-快速测试vue文件</title>
<script src="https://unpkg.com/vue"></script>
<script src="https://unpkg.com/http-vue-loader"></script>
</head>
<body>
<div id="GM"><index/></div>
<script type="text/javascript">
var GM =new Vue({
el: '#GM',
components: {'index': httpVueLoader('./pages/index.vue')},
})
</script>
</body>
</html>