Top "Vue-component" questions

Component is a powerful Vue feature that allows extending basic HTML elements to encapsulate reusable code.

Vue.js - Emit event from directive

Is it possible to emit a custom event from the directive in the component to which this directive is attached. …

javascript vue.js vue-component
VueJS: @click.native.stop = "" possible?

I have several nested components on the page with parents component having @click.native implementation. Therefore when I click on …

vuejs2 vue-component vue-events
VueJS - Pass slot to child of child component

I have a list and a list_item component that I reuse a lot inside my application. On a simplified …

javascript vue.js components vuejs2 vue-component
property this.$el undefined on single file component vue js

I'm trying to create a global component using laravel mix with vue js, but when accessing property this.$el it's …

javascript vue.js vuejs2 vue-component laravel-mix
Computed properties in Vuetify Datatable rows

I am using Vuetify and Vuetify/Datatables for a website. Now I want some computed properties on every row of …

vue-component vuetify.js computed-properties
Module build failed: Error: No parser and no file path given, couldn't infer a parser in nuxtjs

Module build failed: Error: No parser and no file path given, couldn't infer a parser. at normalize (/home/nayan/dd_…

vue.js vuejs2 vue-component prettier
random "data-v-*" attribute in Vue.js components

Experimenting with Vue.js the first thing I noticed is how every instance of a component that I define as …

vue.js vuejs2 vue-component
Vue.js custom event naming

I have two components, one contains another. And when I trigger event from child I can't receive it in parent. …

vue.js vuejs2 vue-component
Props should at least define their types

<template> <div v-editable="blok" class="util__flex"> <component v-for="blok in blok.columns" :key="blok._…

vue.js vue-component eslint nuxt.js storyblok
Keep-alive on a single route instaead of all routes in router-view

if keep-alive is specified to router-view as below <keep-alive> <router-view></router-view> </keep-alive> …

vue.js vuejs2 vue-component vue-router