【发布时间】:2019-05-22 18:20:21
【问题描述】:
在构建过程中(使用 vue-service-cli buid,通过 vue ui gui),显示以下错误,但我找不到为 src/main.ts 进行声明的位置。 vue: 2.5.21, vue-cli: 3.2.1
ERROR Failed to compile with 1 errors1:58:38 PM
This relative module was not found:
* ./src/main.ts in multi ./src/main.ts
ERROR Build failed with errors.
web.config.js
main.ts 在 ClientApp 中定义
entry: { "main": "./ClientApp/main.ts" },
vue(或 webpack)是否硬连线以拥有 src 目录?
【问题讨论】: