單項選擇題要在另一個組件中使用組件,需要首先在腳本中導入,然后在Vue實例中通過()選項來注冊

A.meta
B.computed
C.components
D.component


您可能感興趣的試卷

你可能感興趣的試題

1.單項選擇題通過()命令可以啟動vue項目

A.npm dev
B.run dev
C.npm pro dev
D.npm run dev

4.單項選擇題document對象中的querySelectorAll(selector)是用來返回什么?()

A.返回匹配指定CSS選擇器的第一個元素
B.返回匹配指定CSS選擇器的元素集合
C.返回具有指定id的元素集合
D.返回具有指定class值得元素集合

5.單項選擇題以下哪個元素不可以使用v-model指令()

A.<select>
B.<div>
C.<textarea>
D.<input>