在父元件的components屬性中註冊子元件: new Vue({ el:"#vue-app-one", ... 使用子元件,通過繫結父元件data中的變數title來實現動態傳值:
確定! 回上一頁