When running vue2.0 project with NPM run dev command,
half of the project is built with Vue cli scaffold
Error: listen EADDRNOTAVAIL 192.168.137.1:9090
The project cannot run,
Error report screenshot:
Error reason: static routing information in configuration has been changed
solution:
Open Directory/ index.js
host: 'localhost',//Unchanged is filled in 192.168.137.1:9090
If you need to access Vue project on your mobile phone, you can open the following link:
how to access Vue project on your mobile phone