npx webpack --watch. 或者是安裝另外一個套件 npm i --save-dev webpack-dev-server. 安裝完之後,可以在webpack.config.js 裡面設定,devServer 屬性.
確定! 回上一頁