简体   繁体   中英

Webpack not adding the images in the public folder

I am using some images which is in the assets directory. Webpack is not outputting the images into the public directory(generated by webpack). Please look at my code at https://github.com/akashshyamdev/lorem and help me out.

You need to add a webpack loader called file-loader: https://webpack.js.org/loaders/file-loader/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM