我正在创建一个npm软件包,我发现了一个很酷的功能npm链接,在我开始在我的软件包中使用多个vue组件文件之前,它一直很好用。我将它们导入到主要的component.vue文件中。 从现在开始,我在测试软件包的项目中遇到此错误。
我的项目在github上,您可以在此页面上看到我所做的更改: https://github.com/kingscode/vuetify-resource/commit/1fc1b6b1039ea42cf9a78fd0680692b1494f026e#diff-2f0a65025e4346744d27a974875f5745
These dependencies were not found:
* !!babel-loader!../hitprofitdesign/node_modules/vue-loader/lib/selector?type=script&index=0!./VuetifyResource.vue in ../vuetify-resource/VuetifyResource.vue
* !!babel-loader!../../hitprofitdesign/node_modules/vue-loader/lib/selector?type=script&index=0!./Checkbox.vue in ../vuetify-resource/columnTypes/Checkbox.vue
* !!babel-loader!../../hitprofitdesign/node_modules/vue-loader/lib/selector?type=script&index=0!./Text.vue in ../vuetify-resource/columnTypes/Text.vue
* !!vue-style-loader!css-loader?{"minimize":false,"sourceMap":false}!../hitprofitdesign/node_modules/vue-loader/lib/style-compiler/index?{"vue":true,"id":"data-v-57874f8a","scoped":false,"hasInlineConfig":false}!../hitprofitdesign/node_modules/vue-loader/lib/se
lector?type=styles&index=0!./VuetifyResource.vue in ../vuetify-resource/VuetifyResource.vue
* vue in ../vuetify-resource/VuetifyResource.vue, ../vuetify-resource/columnTypes/Text.vue and 1 other
* vue-hot-reload-api in ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-57874f8a","hasScoped":false,"transformToRequire":{"video":"src","source":"src","img":"src","image":"xlink:href"},"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selec
tor.js?type=template&index=0!../vuetify-resource/VuetifyResource.vue, ../vuetify-resource/VuetifyResource.vue and 4 others
To install them, you can run: npm install --save !!babel-loader!../hitprofitdesign/node_modules/vue-loader/lib/selector?type=script&index=0!./VuetifyResource.vue !!babel-loader!../../hitprofitdesign/node_modules/vue-loader/lib/selector?type=script&index=0!./Che
ckbox.vue !!babel-loader!../../hitprofitdesign/node_modules/vue-loader/lib/selector?type=script&index=0!./Text.vue !!vue-style-loader!css-loader?{"minimize":false,"sourceMap":false}!../hitprofitdesign/node_modules/vue-loader/lib/style-compiler/index?{"vue":true
,"id":"data-v-57874f8a","scoped":false,"hasInlineConfig":false}!../hitprofitdesign/node_modules/vue-loader/lib/selector?type=styles&index=0!./VuetifyResource.vue vue vue-hot-reload-api
> Listening at http://localhost:8080
我希望有人能帮助我,我知道有很多关于某种形式的此问题的页面,但没有一个能帮助我找到解决问题的方法。