CharlesIrvine

CharlesIrvine

I would like to use Bulma with Phoenix 1.7. I tried to follow the directions here, but those directions seem seriously out-of-date.

Right now, it seems that the Bulma class definitions aren’t being found since the rendered html has no styling at all.

Can someone provide a pointer or two to get me going?

Showing Posts 1 to 9

code-shoily

code-shoily

I recently did that. Not sure if this will be helpful for you but I can send you the commit that made it happen

https://github.com/code-shoily/covid19/commit/9025e3ff00bb67d83031bd4da2a6ad54fca0fe3a

I did install dart-sass btw. Let me know if it helps or you have any questions, I can write in detail once I’m back home. I intend to start a new project with Phoenix 1.7 tomorrow any way so I might as well document it too.

CharlesIrvine

CharlesIrvine OP

Thanks a lot for sharing. I took a very brief look just now. There is a little more to it than I thought. I’ll dig in later. Plus, I don’t know if I want to get rid of Tailwind; I just wanted to add Bulma. I don’t know. I might not be making sense. I have good Elixir experience, but I’m new to Phoenix/LiveView/Tailwind. And I’m mostly clueless about sass. Thanks, again.

CharlesIrvine

CharlesIrvine OP

Wow. I just took a look at your Covid App. Very inspiring!

code-shoily

code-shoily

Thank you :slight_smile: … The main branch is incomplete (and hopefully WIP)… the ClojureScript and Tailwind branches work but the data processing is slow. I intend to update this as soon as my hand heals from the injury I had last month.

code-shoily

code-shoily

Interesting. I guess if you want both to coexist then you could check if looking into the green highlights and not the deletes help in some way. I’ll be definitely interested to know how it goes.

CharlesIrvine

CharlesIrvine OP

Did you get Bulma integrated into 1.7? If so, would you mind sharing notes on what you did? Thanks

code-shoily

code-shoily

Yes I did. The commit I touches that very roughly. I will convert it into a basic blog post or something and share here. I think I saw another post here today on this topic

I’ll jot something down here in an hour or two (right now, I am outside and that commit is the only note I have readily shareable)

Also I see the new Phoenix version (1.7.2) has an option to opt out of tailwind. This should have less work to update Bulma, and the 1.6 articles would be more applicable, right?

stwf

stwf

Nice! Building Bulma locally gets you a lot of customization options. The one part that still missing would be translating the ‘core_components.ex’ file into Bulma. It does seem like a lot of work though.

code-shoily

code-shoily

I was just trying to do this during the weekend, gave up for now. I think it will require doing it the hard way first to understand the pain points and abstraction opportunities and then attempting it.

— All posts loaded —

Where Next? Top

Trending in Questions Top

RSP87
I’m working on a project that simulates the bumbl example in the programming phoenix book. It acts almost like an email client. We have a...
New
nseaSeb
Hello, I know there is an approach for handling lists that allows for optimized traversal, but I can’t recall the specific method (somet...
New
RemyXRenard
I’m seeing that a list inside a Kino.DataTable will be interpreted as a charlist, even if the Kino.configure() is set to charlists: :as_l...
New
velrest
So my question is quite simple and i have found no conclusive answer on forum, google or AI. Should we use :erlang.float for Integer to ...
New
brecabral
Documentation While reading the Scoped Routes section, I noticed that the documentation currently refers to a problem without explainin...
New
samoloth
Hi, I’ve just set up an application with ash_authentication. There is only magic link strategy for now, so there is no confirmation add o...
New
FlyingNoodle
If a change or preparation module uses Ash.Changeset.get_argument/2 or Ash.Query.get_argument/2 (or any of the other get_argument functio...
New

Other Trending Topics Top

mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Dmk
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
webofbits
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself. My main conc...
#ai
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews