How I started to love Vue

Introduction
 
How I started to love Vue
 
This post is a logical extension of my post /article - How I stopped loving Angular / How I stopped loving Angular .
 
It is recommended to read before reading.
 
For about a year now, in all the projects I'm involved in, I use Vue instead of Angular.
 
In this post, I will share the main impressions and differences after Angular, and also tell some things from the real experience of using Vue on combat projects.
conditioned = pain
 
 
Forms ...
+ 0 -

How to make Vue.js and Electron work together

How to make Vue.js and Electron work together
 
Introduction
 
On the wave of popularity (I hope that they are popular) Vue.js and Electron , a reasonable question arises, and how to make them work together. In this tutorial, I'll show you how to quickly install and configure a template for developing applications on Electron and Vue.js. And so proceed.
 
That we need
 
 

yarn
- batch manager, analog npm . I chose yarn, because I just like this tool, however you can use npm as well. How to install yarn 3rd3r3323. , and npm
tuta
;
 

vue-cli
...
+ 0 -

We make up the flex-calendar

It's 201? the fashionable boys have long been on the grid, and I'm all sitting on the third bootstrap with
col-md
kokeryyachus, glancing at the fourth glance.
 
I decided that this is not the case, and it's worth a bit of knowledge to refresh, but at
grid
kind of like support is still limping, but
flex
technology even irons support.
 
So I decided to master it. And the process of mastering with you will share. In general, we will make a calendar for the whole year.
The sample code is available at .It's 201? the fashionable boys have long been on the grid, and I'm all sitting on the third bootstrap withcol-mdkokeryyachus, glancing at the fourth glance. I decided that this is not the case, and it's worth a bit of knowledge to refresh, but atgridkind of like support is still limping, butflextechnology even irons support. So I decided to master it. And the process of mastering with you will share. In general, we will make a calendar for the whole year. The sample code is available at ...
+ 0 -

4 tips for working with Vue.js

Here are some tips for working with Vue.js that I developed over the past year.
 
1.) Use the arrow functions in the components
 
ES6 gave us a new way to declare functions with convenient binding of the current scope. When using the old method, this may not refer to what you expect.
 
For example:
Single-File Components (.vue) is one of my favorite features in Vue.js
 
They allow us to define reusable templates and parts of our application and re-use them. But to use them you need the necessary tools of assembly.
 
(note: this is already set up and ready to work in the console utility ...
+ 0 -

Vue.js and how to understand it

In my work, I had to deal with the Vue.js framework relatively recently. Before that, I was mainly engaged in backend development, I had to understand many things and it was a lot of complicated to understand, especially when I used only jQuery before. In the framework of this article, I want to help my reader understand the problems in understanding that I have faced. Of course, the problems at the stage of learning something new all have different, but not a few of those with whom they will be similar, this is the focus of this article.
 
...
+ 0 -

Live broadcast from Vue.js Moscow Meetup # 1

For those who could not reach us, we launch a live broadcast from the first Moscow Mitap to Vue.js, which will begin at 19:00
 
 

 

The program of performances is planned:


 
 
19:00 - Practice and methods of working with complex forms in Vue.js - Alexander Bashkirtsev (Software developer, Acronis)
 
19:30 - We implement Vue.js in the finished project, a painless disposal of jQuery. - Alexander Mayorov (CTO, NewHR)
 
20:00 - 20:10 - Coffee break and discussions
 
20:10 - Simple and clear state management in vue.js - Alexander Saft (Senior Frontend Developer, Smotreshka)
 
20:40 -...[/h]
+ 0 -

Strict typing for Vue.js applications on TypeScript

Strict typing for Vue.js applications on TypeScriptQuestion
: What are the weakest places in Vue?
 
 
Answer
: At the moment, probably, unfriendliness to typing. Our API was designed without scheduling support for typed languages ​​(such as TypeScript), but we made great improvements in 2.5.
 
 
Question
: Tony Hoare (Tony Hoare) called the null error a billion dollars. What was the most unfortunate technical solution in your career?
 
 
Answer
: It would be nice to use TypeScript initially, even when I started rewriting the code for Vue 2.x.
 
 
from the interview "The creator of Vue.js answers Habr"
The unfriendliness of Vue.js to ...
+ 0 -

How to write a single page application (SPA) using Vue.js

How to write a single page application (SPA) using Vue.js
 
Single-page applications (SPA) have many advantages, such as speed, a really good UX, and full control of HTML markup. There are more and more sites for SPA; more and more tools that simplify the process of developing a SPA. You probably already read about the young and promising framework. Vue.js . I suggest you go deeper into Vue and on a concrete example deal with a simple SPA.
 
We will write a client-server application of the simplest blog. The application will display the list of records as well as the full text of each individual record. And by itself, all this will happen without reloading ...
+ 0 -

We write the component - the table, in an unusual way

We write the component - the table, in an unusual wayAnother small article is easier to follow.
 
I'll tell you how I draw the tables in Vue .
 
 
There are a lot of table components for Vue. With various possibilities.
 
And everywhere in different ways the table is going to template page or some component.
 
 
Basically it happens somehow like this:
 

 
Element .
 
There it looks like this:
 

 
Here everything is clear. We immediately imagine a general view of the columns and cells. And in component el-table we transfer only the data and settings of the table itself.
 
 
And all would be nothing. I like in general ...
+ 0 -

The creator of Vue.js answers Habr

The creator of Vue.js answers Habr  
 
All with Friday!
 
 
As promised, we publish Evan You's answers to the questions we have long and painfully were collected in previous post , as well as the Russian-speaking Vue chat in Telegram.
 
 
video (eng) -
? note [/i] )
 
 
B: Is Vue a full replacement for React /Angular or is it a niche framework?
 
O: Yes, it can be a complete replacement. This is not a niche framework.
 
 
B: What is the expected life cycle of Vue.js? Will Web Components /VanillaJS be able to replace JS frameworks in the near future?
 
O: We are growing ...
+ 0 -