Adding TailwindCSS to Rails Discussion
12
General
For those with the problem of "bin/dev: line 8: exec: foreman: not found"
- Install the foreman gem -> bundle add foreman.
- Add the "bundle" word to the beginning of this line of code (bundle...
MehdiElrafi replied
Deploying our Rails Blog to Production Discussion
16
General
Hello Chris, thank you very much for you do to help us... I'm trying to deploy the blog but when building it on render I'm getting an error... Your RubyGems version (3.0.3.1) has a bug that preven...
banner520521 replied
Asset Pipeline
2
General
What are some excellent resources to get a good foundational understanding of asset pipeline, esbuild, import maps, js bundling. I have a decent knowledge of Rails, but I have trouble understanding...
Francisco Holcomb replied
Designing our Web Scraper UI with TailwindCSS Discussion
3
General
Wow!
This episode is incredibly relevant to me! I manage [littlebirdelectronics.com.au](http://littlebirdelectronics.com.au), an Australian distributor for brands like Adafruit, SparkFun, Pololu, ...
How to use Bootstrap with Webpack & Rails Discussion
50
General
Thanks for posting this and the previous video on using tailwindcss. It's helpful to see the main themes reinforced in each of the videos. One thing that I'm struggling with is what seems like a vi...
bradley replied
Rails new with TailwindCSS Discussion
0
General
can you explain in detail that why you didn't use bin/dev? I couldn't get your point
Rich Text Blog Posts with ActionText Discussion
19
General
Hi Chris, thanks for the video. I was wondering how do I truncate the text on the index.html page? I only want to show 130 characters of the content (previously body).
<%= truncate(blog_post.c...
Pat Fitzner replied
css forum Go Rails strategy
0
CSS
I'm following the tutorial for creating the forum and using Tailwind to do the layout. I have seen that classes are used that are not native to Tailwind. What strategy did you use to build the Go ...
João M Cortat posted
Datatables From Scratch Using Hotwire Discussion
32
General
fantastic thanks
David Krider replied
Adding Scheduled Blog Posts Discussion
22
General
Hello Chris, I am facing the issue while sign in locally (it shows password and email are invalid) even my production site is not giving me this issue, Please help.
Thanks in advance!
Patrick replied
Separate JavaScript Importmaps For Rails Engines Discussion
3
General
Good stuff! I have an idea for another episode/lesson:
When using TailwindCSS (which is pretty much the standard nowadays) in an Rails app, I found myself wanting to build "plugins" or extended fun...
Mateusz Żołądek replied
Running into render build error related to Tailwind
9
Rails
Following along with the Build a Blog lesson and currently trying to deploy on render. I can't seem to pass the below error during build - has anyone else seen this before? Locally tailwind is wo...
Chris Oliver replied
Why aren't Tailwind UI components displaying properly?
0
Rails
Is anyone else recently having issues with Tailwind UI components not displaying properly? For example, let’s examine the first “Stacked” component: **tailwindui dot com/components/application...
Hideko Endo posted
Struggle with Rails 7, esbuild, and Tailwind CSS Asset Loading
3
Rails
Recently, I ran into an issue while setting up **esbuild** and **Tailwind CSS** in my Rails 7 app. Despite following all the recommended steps, my **stylesheets** and **JavaScript files** simply wo...
Florian Osterhus replied
How to Add Pagination for Blog Posts in Rails Discussion
5
General
I like the manual approach of looking inside the `pagy` object and finding your way to get what you want! That is what I usually do instead of searching the doc :)
A simpler approach that I recomm...
D john replied
How can i install Daisy UI?
0
Javascript
I want to be able to use Daisy UI, but i am reading different ways to accomplish this – making me confused on how to actually install node packages.
1. One way is setting up the CDN, which is not ...
Migrating from Rails UJS to Hotwire: Data Method, Confirm, and Disable With Discussion
18
General
Small comment about those delete links (I really dislike using links for delete requests): when you need to put a delete button inside form, consider moving the submit button outside of the form in...
Colin Ambler replied
Using tailwind css in my rails app, patterned after your blog tutorial. How do I get rid of all the whitespace on each side of the page, I want to use the whole screen?
1
CSS
So I have modified by tailwind.config.js file as such:
const defaultTheme = require('tailwindcss/defaultTheme')
module.exports = {
content: [
'./public/*.html',
'./app/helpers/**/*.rb',
...
Mike Cannon replied
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
Best practices for structuring reusable frontend components (coming from Angular/React) ?
0
Rails
Hey I'm an Angular developer diving into the Ruby on Rails, and I'm trying to figure out the best way to structure reusable frontend components, like buttons, in a Rails project. Especially because...
Cengiz Gürtusgil posted