webpack裡面有個 html-loader 有這樣的功能. 因此在webpack-config.js中新增如下程式碼: { test: /\.(html)$/, use: { loader: 'html-loader' } }.
確定! 回上一頁