<div> <Widget ref:widget>{{data}}</Widget> </div> <script> import Widget from './Widget.html' export default { components: { Widget }, data(){ return { data: "Hello" } } } </script>