这里到了本文的重点:如何在create-react-app中定制自己的service-worker.js。目前的cra引用了Workbox webpack plugin 代替了先前的sw-precache-webpack-plugin。
確定! 回上一頁