Re:How we do Vue at GitLab: one year later
by zackify on Friday November 10, 2017 @03:21PM
(#15672634)
Just feels like you're halfway following good JS practices. Ex: using Vue is great, but still rendering templates the "old way" instead of server rendering correctly for the whole app and having components remount. Totally get your point :)
Re:How we do Vue at GitLab: one year later
by pythonaut_16 on Monday November 13, 2017 @02:19PM
(#15689274)
I don't disagree but the real power of Vue is that you can immediately start using it in your existing application without having to jump to a full SPA. Vue works just as well when added to a single page or feature in an existing application as it does in a full SPA
E.g. on the server-side .html.erb they'd have something like
`<div... data-endpoint="@controller.url">...</div>`