How can vue-cli3.0 be checked by real machine?

modify the devtool, of config/index.js when cli2.x, but now there is no config. How to check it on the real machine? ask for detailed steps

Jan.16,2022

if both the phone and the computer are on the same local area network, just use the phone to access the ip address where the project is running.


vue-cli3 there is vue.config.js
you can also use configureWebpack or chainWebpack to modify the webpack configuration

.
Menu