News for hackers. Stuff that matters.
Re:Replacing JQuery with Vue.js: No Build Step Necessary by andrei_says_ on Saturday June 02, 2018 @03:42PM (#17216030)
JQuery is often used in popular front end components, like carousels and menus.

How do you approach something like slickjs? Or SmartMenus? Both of these are quite polished, with well thought-out APIs, and have solved for hundreds of issues and corner cases.

I’m not sure that it would be wise to go for a DIY solution in such cases.

What’s your experience?

Re:Replacing JQuery with Vue.js: No Build Step Necessary by jazoom on Saturday June 02, 2018 @06:35PM (#17216772)
I've always just looked for one that doesn't use jQuery. Haven't had trouble finding one for at least a year. Nowadays I always find there's already a Vue component that's a wrapper for whatever library.
Re:Replacing JQuery with Vue.js: No Build Step Necessary by Can_Not on Sunday June 03, 2018 @02:30AM (#17218221)
VueJS has a few carousel libraries. Most are pretty good, although I also assume that the one you mentioned is ~5 years older (therefore more mature). Typically the issue is usually picking one that works with your CSS framework or learning for the first time how to wrap a vanillajs library in a Vue component definition. Bootstrap 4 and Bulma have great libraries that implement their features (e.g. tabs, drop-down menus, navs, etc.).