📅  最后修改于: 2022-03-11 15:04:33.193000             🧑  作者: Mango
yarn add next-images
// add in next.config.js
const withImages = require('next-images')
module.exports = withImages()
//where the image should go
//or
import img from './my-image.jpg';
export default () =>