* @/views/payconfig/passageManage/payWayStep/component/watchClientPassage.vue in ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/mchApp/passageManage/passagePage.vue?vue&type=script&lang=js& To install them, you can run: npm install --save @/views/payconfig/passageManage/payPassagePage.vue @/views/payconfig/passageManage/payWayStep/component/watchClientPassage.vue
时间: 2023-06-29 15:15:40 浏览: 148
jiaminghi/data-view dataV for vite vue2 补丁 for npm/yarn
5星 · 资源好评率100%
这个错误提示的意思是在 `./src/views/mchApp/passageManage/passagePage.vue` 文件中的 `<script>` 标签里的代码引用了两个组件 `@/views/payconfig/passageManage/payPassagePage.vue` 和 `@/views/payconfig/passageManage/payWayStep/component/watchClientPassage.vue`,但是这两个组件没有被正确地导入。
您可以通过运行以下命令来安装这两个组件:
```
npm install --save @/views/payconfig/passageManage/payPassagePage.vue @/views/payconfig/passageManage/payWayStep/component/watchClientPassage.vue
```
然后在 `./src/views/mchApp/passageManage/passagePage.vue` 文件中的 `<script>` 标签中的 `import` 语句中导入这两个组件即可。例如:
```js
import payPassagePage from '@/views/payconfig/passageManage/payPassagePage.vue'
import watchClientPassage from '@/views/payconfig/passageManage/payWayStep/component/watchClientPassage.vue'
export default {
components: {
payPassagePage,
watchClientPassage
},
// ...
}
```
阅读全文