Top "Vue.js" questions

Vue.

TypeError: this.getOptions is not a function

I am facing a weird error when I installed Bootstrap. The error is below. I tried uninstalling less-loader and installing …

vue.js webpack sass-loader
Vue 'export default' vs 'new Vue'

I just installed Vue and have been following some tutorials to create a project using the vue-cli webpack template. When …

vue.js vue-component vue-cli
How do I format currencies in a Vue component?

My Vue component is like this : <template> <div> <div class="panel-group"v-for="item in list"&…

vue.js vuejs2 vue-component vuex
Default values for Vue component props & how to check if a user did not set the prop?

1. How can I set the default value for a component prop in Vue 2? For example, there is a simple movies …

javascript vue.js vue-component
How to listen to the window scroll event in a VueJS component?

I want to listen to the window scroll event in my Vue component. Here is what I tried so far: &…

javascript vue.js vuejs2
How to use a jQuery plugin inside Vue

I'm building a web application inside VueJS but I encounter a problem. I want to use a jQuery extension (cropit …

jquery jquery-plugins webpack vue.js
How can I go back/route-back on vue-router?

Ok, to explain this simply: I have 3x pages. Page 1 (Home) Page 2 (Menu) Page 3 (About) Page 1 has a- <router-link …

javascript webpack vue.js vuejs2 vue-router
vue.js 'document.getElementById' shorthand

Does vue.js have a shorthand for document.getElementById('#id') like JQuery's $('#id')? If so, where is the …

jquery getelementbyid vue.js
Vue template or render function not defined yet I am using neither?

This is my main javascript file: import Vue from 'vue' new Vue({ el: '#app' }); My HTML file: <body&…

javascript vuejs2 vue-component vue.js
How to acces external json file objects in vue.js app

How to access JSON objects in the vue.js app I am new in this import json from './json/…

javascript vue.js vuejs2