Questions tagged as 'vue.js'

1
answer

Trouble activating Vue.Js

See below the structure of my small project; <!DOCTYPEhtml><html><head><title>Mybooks</title><linkrel="stylesheet" type="text/css" href="node_modules/bootstrap/dist/css/bootstrap.css"> <link rel="st...
asked by 19.09.2017 / 18:01
1
answer

Traverse all properties of a VueJS object

I'm using VueJS in a project and I need to go through all the properties of the object associated with v-model . I know that if it were an array I could use u for , foreach , map and many other ways to go through it....
asked by 02.10.2017 / 14:20
1
answer

Library for VueJS graphics creation?

I need to do graphing, and I'm using the VueJS framework along with Quasar. I wonder if anyone knows or knows any library so I can generate these graphs; I've seen some, but the documentation is in Chinese, which makes it very difficult. Thanks...
asked by 03.08.2017 / 21:17
1
answer

script import in the wrong order, function not defined

I have a component vue ( Map.vue ): <template> ... </template> <script> import '../../assets/js/map.js' export default { name: 'home', data () { return { init_data: {}, } },...
asked by 29.06.2017 / 13:50
1
answer

IDE for development in VueJS [closed]

I'm starting on VueJS and would like to know what IDE advise? I use netbeans for HTML, PHP, JS, etc. Can you integrate vueJS into netbeans? Are there any pluing for this?     
asked by 11.10.2017 / 16:19
1
answer

Promise not returning value

My request is returning this: data: Promise Opening Developer Tools from Chrome I see this: data: Promise __proto__:Promise [[PromiseStatus]]:"resolved" [[PromiseValue]]:"24/01/2016" Using the axios, how can you print this value? L...
asked by 06.10.2017 / 18:48
1
answer

create a global function in vue

Good afternoon, I'm a beginner in both javascript and vue, and I'm having some difficulty creating a global function in vue. Could someone give me an example? Grate     
asked by 04.11.2016 / 20:46
2
answers

Error rendering component

The page in the browser is only blank and the following error appears in the console: Failed to resolve directive: ref After commenting and uncommenting various parts of my code, I discovered that the page only works right when I comment on...
asked by 30.11.2016 / 19:23
1
answer

Component Autocomplete VueJS

I want to create a component of autocomplete , so I have the following code. <Input v-model="form.autocomplete.input" @on-keyup="autocomplete" /> <ul> <li @click="selected(item, $event)" v-for="item in form.autocomplet...
asked by 07.06.2018 / 20:18
1
answer

Do not stop setTimeOut when changing browser tabs

I'm building a counter with vueJS and I noticed the count for when I change the focus of the flip; at first I'm using the setTimeout function of javscript: setTimeout(() => { this.time++ this.min = Math.floor(this.ti...
asked by 10.03.2018 / 20:31