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

How should I bundle stimulus_reflex with esbuild in Rails 7

3
Rails
When I use webpacker gem, it is so easy to install stimulus reflex using stimulus_reflex gem in Rails 6. But in Rails 7, some problems occurs as follows: ``` $ bundle add stimulus_reflex $ rails s...
Ole Torp replied

Drag and Drop sortable lists with Rails & Stimulus JS Discussion

22
General
Chris, thank you so much for this! I was actually going through the old drag and drop tutorial yesterday and today to update it for Rails 6. I seem to be having an issue both with this tutorial an...
Reece Jones 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

Setup MacOS 10.15 Catalina Discussion

15
General
GJ

I get error when deploy to heroku

1
General
I get error when deploy to heroku Here is the log file: -----> Building on the Heroku-20 stack -----> Determining which buildpack to use for this app ! Warning: Multiple default buildpa...
Alan Reid 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

Heroku Error - We're sorry, but something went wrong.

2
Rails
Hey Guys, I deployed my app to Heroku but I am getting the "We're sorry, but something went wrong. " so I ran heroku logs and this is what I got: ``` 2019-11-07T18:45:20.355498+00:00 app[web.1]:...

Rails App production(Droplet DigitalOcean) Assets Issue

0
Rails
Hi, So i deployed my rails app on the digitalocean droplet, its using webpacker. So when i go to my site, css and js are not working while i get this in the console: "rails_app/packs/css/applicatio...
SLLAF posted

Chrome Only - getElementsByClassName error

0
Javascript
I am hoping someone might be able to shed some light on this issue. I have this JS code (below) located in packs -> application.js. It grabs the class name and adds additional class. The divisio...
Mountaindog posted

Install Bootstrap with Webpack with Rails 6 Beta

12
Javascript
For those of you who are going to give Rails 6 Beta a test run here is how I have installed Bootstrap 4.3.1 and configured with Webpack **Step 1:** `yarn add bootstrap@4.3.1 jquery popper.js` **S...
Solved

Disabling ActionCable for Unauthenticated Users Discussion

14
General
Hey Chris,I tried to integrate the meta tag if else statement into the group chat app in the channels/chatrooms.js and got "cannot read property `send_message` of undefined" error. It was surprisin...
Imallek replied

How to use Google Maps and Markers Discussion

16
General
Awesome video. I am wondering how would I take the show page and link it to a different js file. The index.js is global correct? What would be the best way to setup a show view with just the map...
Jacques replied

Need helping getting started with Ruby on an m1 MacBook.

0
General
I'm new to Ruby on Rails and am having trouble getting my first project up and running. I used Rosetta to open my terminal and installed homebrew, ruby, rails, postresql, mysql, and sqlite3, as we...
Humusk1 posted

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

How to upgrade from Turbolinks to Hotwire & Turbo Discussion

12
General
Hey Chris, thanks for going over Turbo and StimulusJS 2.0 changes, I'm really excited about using them in my projects! One really big thing that would be great to cover is using dialogs/modals wit...
Thomas Connolly replied

Stimulus based ActionCable Subscriptions - possible race condition related to turbolinks preview?

0
Rails
Hi, I've been upgrading a legacy app to leverage Webpacker and Stimulus with the intention of moving to Hotwire eventually too. We have a few ActionCable (AC) channels used here and there and it se...
Craig Chamberlain posted

How do I install UIKit via yarn?

0
CSS
Answer: 1. Add uikit through yarn: yarn add uikit 2. Create a file to be transpiled by webpacker: app/javascript/uikit.sass (or app.sass... whichever name suits you best.) 3. Within uikit.sass imp...
Solved

DHH's most recent hotwire update...

1
Rails
I just caught a tweet from DHH mentioning a new [hotwire related pull request](https://github.com/rails/rails/pull/42999). I'm curious to know how the go rails community feels about this. Seems lik...
Chris Oliver replied

Precompile error on hatchbox with yarn 2

1
Rails
After upgrading to yarn 2, I get the following error when deploying to hatchbox: -----> Precompiling assets... Unknown Syntax Error: Unsupported option name ("--no-progress"). $ yarn install [...
Matthias Orgler replied

Learning Ruby on Rails? Join our newsletter.

We won't send you spam. Unsubscribe at any time.