npm install workbox-webpack-plugin -D. 補充下列程式碼 在plugin宣告中,把workbox引用進來,讓webpack產生service-worker.js const path = require('path'); ...
確定! 回上一頁