vue-component

    0热度

    1回答

    我使用V-具有自定义组件 Vue.component('lineitem', { template: '#lineitem-template', props: { item: { required: false, default: null }, }, computed: { local_line_ite

    0热度

    1回答

    我很难编写一个全局方法来检查NuxtJS中的验证。我可以编写的方法v-if在组件中显示,如果它返回True。 我把这段代码放在layout/default.vue中,但它不起作用。 /layout/defaut.vue <script> import '~/assets/icons' export default { head() { return !this.mobile

    1热度

    1回答

    我用于获取JSON数据并显示地图vueJS脚本 <script> new Vue({ el: '#feed' , data: { data: [], }, mounted() { this.$nextTick(function() { var self = this; var id = window.

    0热度

    1回答

    我使用这个库VUE-通知:https://github.com/cristijora/vue-notifyjs 上述页面状态的文档:component: { //is rendered instead of notification message因此我想给它动力组件,这样我可以处理自定义事件。这是我的代码: Vue.use(vueNotifyjs) new Vue({ el: '#a

    0热度

    1回答

    我想从{{ columnValue }}中删除category_id,但是最好的办法是什么,因为我需要在第一部分中使用category_id? <table> <tr> <td v-for="columnValue, column in record"> <template v-if="editing.id === record.id && isUpdatable(

    1热度

    1回答

    我正在尝试在我的项目中使用Vue ToolTip。我可以成功地在我的页面上工作,但是,它不适用于我的模态弹出页面。 我已经在这里创造一个小提琴:https://jsfiddle.net/bkw28n9h/ 在此琴有最多显示工具提示悬停在页面上Tooltip文本。但是,当点击任何列表项目时,模态弹出窗口上也会出现一个工具提示。弹出模式弹出的工具提示不会显示在悬停上。这是为什么? 我添加工具提示指令是

    -1热度

    2回答

    我需要一个vue响应式图像网格组件,以显示不同大小的图像。有一些很好的jquery plugins,但我不能在我的基于vue的页面中使用它,因为滚动中图像的延迟加载。 jquery只在初始页面加载时设置高度和宽度。有没有好的组件或解决方案来使用jquery插件?

    0热度

    1回答

    我想给Accordion组件与车身的过渡整合,但没有成功:(所有的工作,以及除动画 模板:。 <div class="accordion"> <div class="accordion-title" @click="isOpen = !isOpen" :class="{'is-open': isOpen}"> <span>{{title}}</span> <i c

    1热度

    1回答

    我想混合vuejs单个文件组件与正常样式的组件(不知道它们被称为),我已经开发了现有的代码。 main.js import Vue from 'vue' import test from './test.vue' import VueMaterial from 'vue-material' Vue.use(VueMaterial) new Vue({ el: '#app',

    0热度

    1回答

    我来自一个角度的心态,现在我想学习vue.js.我正在使用webpack,并且我有以下三个.vue类。 CounterDisplay.vue,IncrementButton.vue , and App.vue . I want to increment the count variable but all it does is console.log how many times I presse