在Webpack 中我們會使用DefinePlugin 或EnvironmentPlugin 來設置全局變量, ... 套件連結:dotenv-webpack ... console.log(http://localhost:3000); ...
確定! 回上一頁