molfar

Joined

10 Experience
0 Lessons Completed
0 Questions Solved

Activity

Posted in Vue.js Components in Rails Views Discussion

Chris, thank you for amazing tutorial. I have one question, you didnt cover in this video.
How to deal with ajax loaded content?

Lets say we have remote link, wich JS response dynamically creates modal box (fancybox form example) with html content.

The problem is that if that modal's html content includes "components" tags, they are not initialized as (converted to) working Vuejs components. How to make Vuejs work with Rails ajax functionality?