App({ // 絕對路徑 require (url) { return require(url) }, })
const {require} = getApp() const $API = require('/utils/api')