当我们输入npm run serve 出现
Note that the development build is not optimized. To create a production build, run npm run build.
项目一直加载不出来时。有可能端口被占用。
找到哪些端口被占用
netstat -ano|findstr "8080"
再看哪些程序被占用
tasklist|findstr "2472"
tasklist|findstr "5292"
tasklist|findstr "10912"
接着使用 ctrl+alt+delete
打开任务管理器 ,然后依次找到它们,结束任务