我在Nuxt.js中有一个项目,我正在尝试使用Vue test Util测试它,Vue Test Util有效地工作,除了我使用BootstrapVue自定义html元素的文件。console.error
[Vue warn]: Unknown custom element: <b-container> - did you register the component
我用的是vue.js、webpack、npm和jQuery。现在我想在我的项目中包含框架bootstrap-vue。我通过npm遵循了https://bootstrap-vue.js.org/docs的指南,并包含了bootstrap-vue。在启动npm的构建过程时,我收到了太多使用babel运行时的错误,比如: ERROR in ./node_modules/bootstrap-vue/es/directives&