<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<script src="bower_components/vue/dist/vue.js"></script>
<style>
</style>
</head>
<body>
<div >这是默认的情况2</slot>
</template>

<script>
var vm=new Vue({
el:'#box',
data:{
a:'aaa'
},
components:{
'aaa':{
template:'#aaa'
}
}
});

</script>
</body>
</html>

相关文章:

  • 2021-11-27
  • 2022-12-23
  • 2022-12-23
  • 2021-11-24
  • 2021-07-07
  • 2021-09-24
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-31
  • 2021-04-23
相关资源
相似解决方案