Using Webpack in Rails with the Webpacker gem

  Рет қаралды 24,246

GoRails

GoRails

Күн бұрын

Пікірлер: 33
@sebastiandefrancesco6831
@sebastiandefrancesco6831 7 жыл бұрын
amazing video chris, would love to see more vue or react with rails
@GorailsTV
@GorailsTV 7 жыл бұрын
Definitely more to come!
@pging8328
@pging8328 5 жыл бұрын
what do you mean by hot module reloading?
@ArunKumar-tb8vv
@ArunKumar-tb8vv 3 жыл бұрын
Thanks a lot for your this effort. You are rocking man
@camilosad1979
@camilosad1979 7 жыл бұрын
Good to see rails going in that direction. Do you see any advantages in using all the js stuff integrated in a rails app rather than having two separated applications (rails api / js frontend) ?
@GorailsTV
@GorailsTV 7 жыл бұрын
Yes, in the sense that really the frontend depends directly upon the backend. You aren't forced into building a full single-page app this way either. The nice part is that you can do all your work (frontend and backend) together in one repo and for small teams that's great. If you're big enough you have a separate frontend team and a separate backend team, then splitting them up might be helpful, but you'll have lots of other things to address then as well.
@sashacooper9326
@sashacooper9326 5 жыл бұрын
This video was a lifesaver :)
@olegnikitashin
@olegnikitashin 7 жыл бұрын
Clear and straightforward as always! Thanks!
@am-mn2sr
@am-mn2sr 7 жыл бұрын
Hi there, thanks for sharing this video. I have a question about Turbolinks. I want to completely deprecate assets/js, so I import turbolinks by yarn. However it doesn't work. I'm pretty sure it's imported correctly.
@HamzaKhan-uy4td
@HamzaKhan-uy4td 6 жыл бұрын
Hi, I installed Webpacker but it did not create the .bin folder in my node modules folder, Can you help me out what script is in node-modules/.bin/webpack-dev-server Thanks
@slim_mike
@slim_mike 7 жыл бұрын
thanks! greetings from Venezuela!
@abbas_hashmat
@abbas_hashmat 6 жыл бұрын
i followed every step but 'Hello World from Webpacker' didn'y showed ..... am using rails 5.2 is there any solution
@al-iom
@al-iom 3 жыл бұрын
please make a video of three js in rails especialy how to import gltf models localy. thanks
@eonacademy5036
@eonacademy5036 5 жыл бұрын
You are my hero! Thank you very much, I have learnt a lot watching your videos. Greetings =)=)....
@GorailsTV
@GorailsTV 5 жыл бұрын
Thanks! I appreciate you!
@mass13982
@mass13982 7 жыл бұрын
Excellent video as usual :)
@totechess
@totechess 4 жыл бұрын
I am trying to do that with the template material-dashboard that I have in vendor folder. I haven't been able to do it. I have added the folder vendor to config/webpacker.conf. I copied the js files in order that the template had, so my application.js has something like that import("material-dashboard/assets/js/core/jquery.min.js") import("material-dashboard/assets/js/core/popper.min.js") import("material-dashboard/assets/js/core/bootstrap-material-design.min.js") import("material-dashboard/assets/js/plugins/perfect-scrollbar.jquery.min.js") import("material-dashboard/assets/js/plugins/moment.min.js") import("material-dashboard/assets/js/plugins/sweetalert2.js") import("material-dashboard/assets/js/plugins/jquery.validate.min.js") But it doesn't work. Could you help me to apply a template in a vendor folder to the rails app?
@Sindoku
@Sindoku 6 жыл бұрын
Why didn't u just do this with React instead of Vue?
@GorailsTV
@GorailsTV 6 жыл бұрын
I much prefer Vue over React, plus there are plenty of other people making tutorials on React.
@bryanperez4148
@bryanperez4148 5 жыл бұрын
Great explanation thank you
@dvdpausini
@dvdpausini 7 жыл бұрын
Thanks for video, excellent video, from Brazil
@ouyangtao
@ouyangtao 7 жыл бұрын
Nice Intro...cheers!
@a1exxero
@a1exxero 7 жыл бұрын
Great stuff! Thank you
@jesuseduardoricosandoval59
@jesuseduardoricosandoval59 6 жыл бұрын
I'm doing the Shine project from Rails, Angular, Postgres and Bootstrap 2nd Edition but when I installed angular (v6) I run "rails s" and "bin/webpack-dev-server" I got it an error (Object is not a function). So, someone can help me! Please respond me to give more details and code
@GorailsTV
@GorailsTV 6 жыл бұрын
Try looking or asking on the webpacker Issues on Github.
@jesuseduardoricosandoval59
@jesuseduardoricosandoval59 6 жыл бұрын
@@GorailsTV thanks a Lot ! I will do it !
@fabriziobertoglio7342
@fabriziobertoglio7342 7 жыл бұрын
Amazing tshirt
@markschnabel120
@markschnabel120 5 жыл бұрын
SAVAGE
@foliwe
@foliwe 7 жыл бұрын
Too many technologies to follow. Running two separate servers for the sample rails app, am not really a fan of. Let's keep RubyOnRails simple.
@GorailsTV
@GorailsTV 7 жыл бұрын
I feel you, it's getting more and more complex every day and without enough value to justify it in most cases.
@andrewshatnyy
@andrewshatnyy 6 жыл бұрын
Webpack + IE8 don't go together. Good luck writing products for real life customers.
@GorailsTV
@GorailsTV 6 жыл бұрын
There's really not much you need to do for IE8. You just make sure you're running the proper babel packages for IE8 compatibility and the JS will run just fine. You might want to look into that functionality.
@kresimirbojcic6491
@kresimirbojcic6491 6 жыл бұрын
Great stuff. Thanks.
Stimulus JS Framework Introduction
18:51
GoRails
Рет қаралды 19 М.
Using VueJS for Nested Forms with Rails | Part 1
22:10
GoRails
Рет қаралды 12 М.
Motorbike Smashes Into Porsche! 😱
00:15
Caters Clips
Рет қаралды 23 МЛН
Random Emoji Beatbox Challenge #beatbox #tiktok
00:47
BeatboxJCOP
Рет қаралды 65 МЛН
小丑揭穿坏人的阴谋 #小丑 #天使 #shorts
00:35
好人小丑
Рет қаралды 52 МЛН
Global Autocomplete Search with Rails
24:02
GoRails
Рет қаралды 19 М.
Rails 5 ActionCable Introduction
18:48
GoRails
Рет қаралды 19 М.
How to use Vue.js and Turbolinks together
16:04
GoRails
Рет қаралды 7 М.
Background Processing with Rails, Redis and Sidekiq
15:00
Decypher Media
Рет қаралды 61 М.
JSON API and Active Model Serializers with Rails
18:35
GoRails
Рет қаралды 16 М.
How to use Hotwire in Rails
24:26
GoRails
Рет қаралды 56 М.
Шаматов Иван, Webpack + Yarn + Rails = webpacker
36:20
Building a Health Application with React Native: Step Counter
3:57:53
notJust․dev
Рет қаралды 441 М.