1. 在Vue 的main.js / ts 檔案中,用createApp(App).provide('名稱', App) 的方式來讓其他的component 可以取用。這邊的名稱,就是inject 呼叫時要用 ...
確定! 回上一頁