为了方便引入资源,我们在tsconfig.json中以baseUrl+paths结合来配置别名. "baseUrl": "./src", "paths":{ "@code":["code/index.ts"] }. JavaScript.
確定! 回上一頁