基本上,我想使用我自己的商店内的vue安装和vue组件,我添加通过我的vue插件。
我发现我可以在实际安装函数中使用vuex,并完成所有vuex可以完成的操作,但我似乎无法将它传递给我的自定义组件。
在我的“证监会”中,还有其他方法可以在插件中添加全球事件吗?
import MyComponent from './MyComponent.vue'
import MySecondComponentfrom './MySecondComponent.vue'
import Vuex from 'vuex'
import store from '
我已经从我的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
我正在使用egoist/vue-html插件来呈现HTML,它在标准HTML中工作得很好,但是当包含组件标记时会失败。
例如,当在模板中包含Breadcrumb组件时,它无法工作。我做错了什么?
到目前为止,这就是我所得到的:
<script>
import Breadcrumb from '~components/Breadcrumb'
import Vue from 'vue'
import HTML from 'vue-html'
Vue.use(HTML)
export default {
data () {
我有一个本机<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元素?
我的应用程序使用的是收敛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