我在一个Vue项目中使用Bootstrap-Vue组件,并将接受属性设置为"image/*“。它与Browse-Button配合工作很好,但我仍然可以将所有类型的文件拖放到文件表单中,它会接受它。这是一个bug,还是我漏掉了什么? <b-form-file
accept="image/*"
v-model="file"
:state="null"
placeholder="Choose a file or drop it here..."
drop-placeholder="D
我用vue-cli创建了一个Vue 2.5.2应用程序。
我尝试创建我的第一个组件(<jsontree />),它可以自己工作,但我不知道如何在另一个组件(<HelloWorld>)中注册使用。
这是我收到的错误消息:
[Vue warn]: Unknown custom element: <jsontree> - did you register the component correctly? For recursi§ve components, make sure to provide the "name" option.
found
我正在尝试在一个vuejs应用程序中使用。
浏览器告诉我错误:
[Vue warn]: Unknown custom element: <b-form-datepicker> - did you register the component correctly? For recursive components, make sure to provide the "name" option.
我正在使用其他bootstrap-vue组件,没有问题。给它一个'name‘属性并不会改变任何事情。
这里我漏掉了什么?关于的文档并没有讨论注册任何组件。(我是否错过了
我试图使用npm install bootstrap-vue bootstrap命令将bootstrap-vue安装到我的vue项目中,但是我得到了这个神秘的错误。
npm WARN deprecated popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
npm WARN @vue/cli-plugin-typescript@4.5.7 requires a peer of @vue/compiler-sfc@^3.0.0-
我重新安装了Nuxt.js和bootstrap-vue/nuxt模块,并将其正确地添加到nuxt.config.js中。但是现在,当我将像<v-btn text>foo</v-btn>这样的元素添加到索引页面时,我在javascript控制台中得到了以下错误消息:
[Vue warn]: Unknown custom element: <v-btn> - did you register the component correctly? For recursive components, make sure to provide the "name&
我试图改变‘主要’,‘危险’,‘信息’等主题颜色在我的项目。我用的是引导-vue。我尝试过在node_modules中的引导文件夹中更改node_modules文件,但是没有反映任何内容。我看了一下的主题,但我似乎无法理解它,也不知道我应该做什么。他们的例子与CLI 4的脚手架项目完全不同。我应该创建一个自定义的sass文件,安装一个sass加载程序,然后导入它吗?
main.js
import Vue from 'vue';
import App from './App.vue';
import VueRouter from 'vue-router
我已经从我的Laravel项目url中删除了public。但是现在我的Vue.js坏了。
如果我从src文件中删除public,它不会识别出项目有Vue.js,但如果我添加public,它就会识别出这个项目有Vue.js。但是它没有在我的Blade页面上显示该组件,而是给出了这个错误:
[Vue warn]: Unknown custom element: <app-some> - did you register the component correctly? For recursive components, make sure to provide the "nam
下面是我的代码(错误):
<template lang="pug">
.component-root
b-btn(v-b-modal.myModal)
i.fa.fa-calendar
b-modal#myModal
span Hello this is my modal!
</template>
它输出一条错误消息:
[Vue warn]: Property or method "v" is not defined on the instance but referenced during r
我正尝试在我的Vue CLI webpack应用中使用NPM包vue-simple-spinner,但收到错误:
Unknown custom element: <vue-simple-spinner> - did you register the component correctly? For recursive components, make sure to provide the "name" option.
医生说:
因此,我在我的main.js文件中包含了如下内容:
import Vue from 'vue'
import A
我的应用程序使用的是收敛web组件,我在我的测试中得到了一个警告,我想修复它。我也不知道如何断言web组件中的值。
console.error node_modules/vue/dist/vue.runtime.common.dev.js:621
[Vue warn]: Unknown custom element: <rux-toggle> - did you register the component correctly? For recursive components, make sure to provide the "name" optio
我有一个本机<break>元素,我在其中使用了一个flexbox元素。Vue正在投掷:
vue.esm.js?efeb:578 [Vue warn]: Unknown custom element: <break> - did you register the component correctly? For recursive components, make sure to provide the "name" option.
如何在Vue中指定本地html元素?
我在Nuxt.js中得到了以下错误:
[Vue warn]: You are using the runtime-only build of Vue where the template compiler is not available. Either pre-compile the templates into render functions, or use the compiler-included build.
found in
---> <Anonymous>
<RenderPost> at components/RenderPost