npm run mock | npm run dev只能启动一个

解决方法:

开两个命令窗口

先运行npm run mock

再运行npm run dev

原文地址:https://www.cnblogs.com/linsx/p/8548985.html