ERROR Module not found: Error: Can’t resolve ‘./src’ in webpack启动服务npm run serve后,出现报错如下图 原因是因为开发环境的配置下没有写 entry,加上它此问题就解决了