接下來我們要開始使用dynamic import 載入外部程式,方法很簡單,就跟在路由設定時一樣,透過 import() 方法取得外部的ES6 Module。 import('./lazy-page/ ...
確定! 回上一頁