当我尝试在react js中添加背景图片时,我得到了一个错误。 ? ./src/index.css (./node_modules/css-loader/dist/cjs.js??ref--5-oneOf-4-1!./node_modules/postcss-loader/src??postcss!./src/index.css)
Module not found: You attempted to import ../public/img/bg.jpg which falls outside of the project src/ directory.
Rela