Skip to content

Tag: vue.js

Why the vue-lang do not work with filter?

I using vue-lang. It works, but not completely ISSUE in the JSON file there is an example of: and then this code as a filter But when I do it by example so there is an error here MY FILES main.js lang/cs.json views/login.vue Still does not work. What am I doing wrong? Answer I’m not familiar with this p…

Echarts.js: Detect a click on a subset of data

I want to detect a click on a particular subset in a bar chart. As I want to init a new chart after the click, with the data from the clicked subset. Currently when I click on chart bars, I get data of the whole chart and can’t retrieve data of just one bar. Here is what I have: Answer

Vue.js component custom non-reactive properties safe name

What is a safe naming for custom properties for component instance? What is the recommended way to store component-specific but non-reactive data? some reasoning: While working with Vue.js, from time to time end up in a situation which I need to store some static data within the component instance. As far as …