Welcome aboard! We are happy you are here and wish you good net-raft!
<html>
<head>
<title>VueJs Instance</title>
<script src="https://cdn.jsdelivr.net/npm/vue"></script>
</head>
<body>
<div id = "component_test">
<testcomponent></testcomponent>
</div>
<script type = "text/javascript">
Vue.component('testcomponent',{
template : '<h1>' + window.location.pathname + '</h1>',
data: function() {
},
methods:{
}
});
var vm = new Vue({
el: '#component_test'
});
</script>
</body>
</html>
The most helpful VUE.JS solutions