https://gorails.com/episodes/webpacker-javascript-in-rails-6

2
General
Hi Chris Thanks for the Episode. I'm new for Rails 6, and when I followed your lesson I've got the multi dubbing of the flatpickr on going the back page in a browser. Like this: [see screenshot](h...
Ted Leason replied

How do I deploy webpacker with nvm with capistrano?

2
Rails
Hi, Was following your tutorial for capistrano but did not see any webpacker in there :(. Right now I am having a problem that cap seems to be finding my old node version before I installed nvm...
Greg Blass replied

Navbar with Vue.js and webpacker - Flickering at page load 😒

1
Javascript
I have a classic RoR - Webpacker app. On top of Webpacker, we have implemented Vue as our frontend framework and Tailwind as our css framework 👌 Everything is functioning fine. Yet I am not quite ...
Thomas Sohet replied
Solved

How to use Javascript via Webpacker in Rails 6 Discussion

17
General
Alternatively to the webpacker way of require the flatpicker css in the `packs/application.js` you can do someting like: ``` /* *= require flatpicker/dist/flatpicker */ ``` In your rails `app/a...
Tony Dehnke replied

How do I set up webpacker for production environment?

0
Rails
Im running my project first on my local machine using Production environment before deploying to production to make sure all is running fine. im using docker with Rails version 5.2 and webpacker ve...
Dev posted

Help configuring Vuetify/stylus on Webpacker

1
Gems / Libraries
Hi, does anyone know how to configure Vuetify with a rails app? I have webpacker working for basic a vue.js/rails app but I would like to configure it so stylus files compile to css so I can use Vu...
davidlbean replied

Install a custom loader with webpacker gem

0
Javascript
I am trying to use a Vue.js based material design framework called [Vuetify](https://vuetifyjs.com/) with Rails 5 and the webpacker gem. The styles for this framework are created with the [Stylus](...
Abhinav Mathur posted

Using Webpack in Rails with the Webpacker Gem Discussion

17
General
I wish our front end guys took 20 minutes to set up webpack on a project!

How to install Tailwind CSS using Webpacker with Rails Discussion

28
General
Nice addition to GoRails episode list. Would love to see more TailwindCSS with Rails videos. Also thanks for plugging your laptop power in...I was starting to panic :D
Mostafa Ahangarha replied

Changing currentTime of video in Rails webpacker-react component

0
Rails
So I was able to put a react component in a [sandbox][1] and get it working as I wanted. In isolation it just manages the currentTime of a video. In the main app clicking a button changes the state...
gjaros posted

How to import javascript from Gems with webpacker

4
Ruby
Ive come across an issue where some gems I want to use (specifically social-share-button) need to have a javascript file imported but with webpacker in rails 6, not quite sure how to do that now
Uttam replied
Solved

Vue JS server side rendering with rails webpacker

6
General
I'm trying to figure out a solution for server side rendering of a vue js app using rails and webpacker. This article comes out top in a google search but is pretty much useless: https://medium.c...

How do I add Zurb foundation-sites using webpacker?

5
CSS
Hey Jason! For the most part, you'll just follow their instructions which is usually `yarn add package` and an import or require of the package in your application.js. https://foundation.zurb.co...
Jerome . replied

Amazon Cloudfront CDN for Rails Asset Pipeline & Webpacker Discussion

15
General
Warning: when using a load-balanced production configuration, this configuration can result in intermittently broken assets. The problem occurs when traffic arrives during a reload that includes fr...
Abhishek Srivastava replied

How to use Google Analytics gtag.js with Turbolinks & Webpacker Discussion

3
General
Are you using GA for the public parts of GoRails or are you also using it for the authenticated parts of GoRails too?
raguila8 replied

Rails 6, Webpacker and Docker on Apple M1

0
Rails
Hi Chris, I tried to leave a comment for episode #389 but was not successful. Not sure why. Anyway, I'm developing in Apple M1 and trying to dockerize a Rails 6 application, but running into a lot...
Gabriela Jack posted

How I do use Rails.ajax in vueJs components using webpacker in rails 6

2
Rails
I have created the brand new application in rails 6 with webpacker and VueJS. I am trying to use the `Rails.ajax` to send ajax request request from Vue component to rails controller. I have include...
Marco Beffa replied

How do I add minified JS files to the Rails Webpacker

2
Rails
I am trying to add min.js files - and getting an error. This works while adding a normal .js file: *- app/javascript/packs/calendar.js* alert('Calendar loaded') *-# app/views/calendars/index.ht...
Arjun Rajkumar replied
Solved

How do you figure out what and how to load the css/scss assets with Webpacker

0
Rails
For Bootstrap you added to `application.scss `(I may have named my folder differently: ``` import "bootstrap" import 'bootstrap/dist/js/bootstrap' ``` and ``` @import '../css/bootstrap_custom'; @i...
Greg S posted

Want to stay up-to-date with Ruby on Rails?

Join 90,720+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.