前端winter、楊村長、然叔Vue3項目實戰(zhàn)
? ?return config ?},}
// next-imagesconst withImages = require('next-images')module.exports = withImages({
?webpack(config, options) {
? ?return config ?}})
啟用 Typescript
創(chuàng)建 tsconfig.json
tsc --init 運行后得到 tsconfig.json 或者 touch tsconfig.ts
將 jsconfig.json 里面的配置合并到 tsconfig.json
標簽: