问题
我使用nuxt1.4进行路由,使用Jest进行单元测试。我的应用程序不会抛出错误,而且看起来工作得很好。然而,当运行我的单元测试npm run unit (运行玩笑)时,它会在终端[Vue warn]: Unknown custom element: <nuxt-link> - did you registerFor recursive components, make sure to provide the "name" option.中<
在Vue 2中,您可以向组件定义对象添加自定义选项: export default { name: ...,
components: { ...此外,使用Webpack,您可以添加代码来读取单个文件组件中的自定义块,并将它们写入组件的options属性。我正在使用module that implements the Vue 3 composition API for N