Manejando datos

Conditional with VueJS

Posted by in Javascript and TypeScript

Let’s keep on learning VueJS, and now it is turn for conditionals in VueJS. Let’s learn how to use if … then, or if … else if … else … the exercise is very easy, and inside the HTML code, We are using the directive v-if, v-else-if o v-else. The target Today’s exercise is to display two buttons, one for “Like” and another for “Do not like”, both controlled by like and notlike variables. If I ckick in one button,I will change the valeo of the property assigned. If True,…read more

Tools for developing with VueJS

Posted by in Javascript and TypeScript

There is no doubt that VueJS is a fantastic framework that it is having tremendous acceptance in web development, and I’m one of them. Normally, the success of a framework is usually accompanied by development tools linked to it, and just as Facebook is at the forefront of React and tools have been developed, something similar happens with the tools to develop with VueJS. Vuejs DevTools In Firefox there exist an extension called Vue.js devtools that you can add: When adding VueJS to developer tools, you will find an icon above…read more

Second step with vueJS

Posted by in Frameworks

I already told you why I fall in love with VueJS, and you have read how easy is working with VueJS, how easy is the first step using this framework, a cool feature for success. Today it is time to go further and keep on learning data-binding with VueJS. Methods The Vue object needs at least one element to work with ‘el‘, and also, a second property is needed ‘data‘, the place where you can store the properties of the object. Let’s keep on going with methods, the place where…read more

First step with VueJS

Posted by in Frameworks

In the first post about VueJS, I already told you I’m delighted, but I haven’t shown a line of code yet, so it’s time to start with the first step with VueJS. Installation In the VueJS documentation there is a specific section for the installation of the library, which proposes several alternatives. First and foremost, it does not support IE version 8 and earlier, i.e. only modern browsers can make use of it. I think that at this point, IE 8 is more than outdated and if you still have…read more

Fallen in love into VueJS

Posted by in Frameworks, HTML5

Unfortunately, I have to admit that I have fallen in love with VueJS, the progressive framework of Javascript, which has been a trend for months and to which I am now going to dedicate a few entries. If you are a reader of the blog, you will be able to see that I have not delved deeper into JavaScript frameworks such as React or AngularJS, for various reasons, which I now detail and which I had not been able to mention before. Today yes! What VueJS is It is a…read more