How to display checkbox and string fields like this image in a form?
5
Rails
I have a `spectrum` boolean column and a `spectrum_color` string column and I'd like to display the options to user as shown in this image. I'm using Tailwind CSS and the Jumpstart Pro Rails templa...
Daniel Weaver replied
Solved
How do I set the active tab on the tailwindcss-stimulus-components
2
Gems / Libraries
Hi Chris,
I am using the tailwindcss-stimulus-components on a project. The tabs work great, but I can't find how to set the active tab. The problem is that I have different links to forms in each t...
Edmundo Ramirez-Semprit replied
Should I rewrite my app?
3
Rails
Before you shout "NO!!" hear me out. I think this may be one of the those cases where a rewrite is reasonable.
Our current application:
* is 6 years old
* is currently on Rails 3.2.14 and Ruby 2.0...
Daniel Weaver replied
Page blinking when using tailwindcss
1
CSS
Hello guys,
I am trying to use tailwindcss on a 5.2 ruby on rails application with webpack. Everything is set up and works well according to the video [How to use Tailwind CSS with Rails](https://...
edouard replied
Solved
How add PurgeCss with TailwindCss?
1
CSS
https://next.tailwindcss.com/docs/controlling-file-size
postcss.config.js
```
const purgecss = require('@fullhuman/postcss-purgecss')({
content: [
'./**/**/**/*.erb',
'./**/**/**/**/*.e...
Chris Oliver replied
in app notifications using stimulus and ujs
6
General
I am attempting in app notifications similar to how Chris did it in the tutorial but trying to update it to use Stimulus but i my data-target doesn't seem to be in scope in the ajax success callbac...
Joel replied
How Do I make my website faster (according to Google and Pingdom)
0
General
Hey there Gang, I ran my website via Pingdom Speed Checker Tools (https://tools.pingdom.com/#!/eFyjYP/flagupmail.com) and have found it difficult to fix three things slowing my site down:I am ...
abebraham posted
How to update TailwindsCSS?
1
CSS
Hi, ladies and gents, I want to know what is the recommended method of updating tailwinds CSS? Currently running 0.4.1 and want to update to 0.5.1 to be able to use ':active' variant.&nbs...
Chris Oliver replied
Using Webpacker and Rails on AWS Elastic Beanstalk
10
General
Can anyone point me in the direction of documentation/tutorial for using Webpacker with Rails on Elastic Beanstalk? I have been playing with Tailwind CSS (which is great btw), and I'm getting a ver...
Simon Cooper replied
Solved
Using webpacker in Rails Engines?
6
Rails
I'm making a pluggable CMS engine and want to keep the JS/CSS (preferably by writing Tailwind components) in the engine. It works great with models, controllers, routes and the asset pipeline, but ...
Angel Garcia replied
How do I import a Sass library from within a "node_module" (Rails 5.1)?
11
Rails
Pretty much the question above!
I have a Rails 5.1 app with webpacker installed, and I used npm to install a front end framework:
`npm install bulma --save`
Now that it is inside of `node_module...
Ryan Martin replied
Solved