7 ms·
I started playing with this recently and so far I'm loving it. Here's a Vue.js component example I wrote that interacts (CRUD operations) with a Feathers messag
by niallobrien 11y ago
I started playing with this recently and so far I'm loving it. Here's a Vue.js component example I wrote that interacts (CRUD operations) with a Feathers message service over websockets: https://gist.github.com/niallobrien/7eb51d17c977c46babb8 https://gist.github.com/niallobrien/7eb51d17c977c46babb8
- cmpb 11y agoJust wondering, how are you using ES2015 imports in the browser? Does Feathers come with a built-in module loader parser, or is this a feature of using Vue, or are you doing some other magic?
- bradstewart 11y agoThe .vue files are compiled with webpack using vue-loader (and Babel).
- daffl 11y agoFeathers doesn't assume much on the client. You can use a module loader or the bundled Feathers client which works right out of the box. To be able to use ES imports in the browser I personally use http://stealjs.com http://stealjs.com
- ekryski 11y agoYup and I use Webpack. The beauty is you get to take your pick. The downer is it's not set up for you. Tradeoffs for now...
- niallobrien 11y agoVue.js has a scaffolding tool called Vue-CLI which makes it super simple to get started as it has all of this stuff setup for you.