B
B
Bogdan2017-05-22 12:02:25
JavaScript
Bogdan, 2017-05-22 12:02:25

Rails 5 + Vue.js does this combination make sense?

Hello. What do you say makes sense? Now the project does not have any js framework, I want to implement it because I see that there is already a need to simplify logical relationships. I looked in the direction of Angular 4, but with its component model everything is quite complicated, and everything needs to be rewritten, but in Vue you can gradually introduce blocks? So at the crossroads now, what is better to spend time on mastering Angular 4 or on Vue?
P.S. Somehow, Angular is changing very dynamically, it’s like a minus in karma too )))

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Anton, 2017-05-22
@Ooos

VueJs is simple, we use it in medium projects, in large ones you can think about ReactJs.
Well, if you are talking about modules, then yes, of course you can, together with all the delights of es5 6 17 and so on, together with webpack
, here is the standard start kit from vue https://github.com/vuejs/vue-cli
If you were familiar with js before, time to deal with vue will take an order of magnitude less than anagular, and then you can look at react js, since their logic is
similar
We use it on the back of php, for medium nodeJs projects. It all depends on the project

S
sasha, 2017-05-22
@madmages

from my point of view, ruby ​​is more dead than alive.
vue is like a backbone in its time, it seems to be there, but in reality it is not.

M
Mikhail Beloshitsky, 2017-05-22
@mbeloshitsky

I would say that it depends on what exactly you will implement on this bundle, whether you specifically need viewmodels. If there is a lot of logic and interaction on the frontend, then it will probably be useful, but if you write a typical CRUD, then an additional layer of view models may be superfluous.
As part of the rails + vue bundle, there is a wrapper written by the author of vue, but I myself have not tried to use it.

M
M-ka, 2017-05-22
@M-ka

I didn’t pick rails 5, but I remember from the 4th, to create an empty project, there was some version of angular in the composition ... or is it some kind of assembly that has become non-standard? and if, nevertheless, it is included, then maybe you should not invent a bicycle and use what is included?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question