Currently working on a Cuba project, bunch of HAML file but for improving UI I still prefer pure HTML, but as I tried, It's seems very complicate to rebuild every thing to get rid of HAML.
Any clues?
Currently working on a Cuba project, bunch of HAML file but for improving UI I still prefer pure HTML, but as I tried, It's seems very complicate to rebuild every thing to get rid of HAML.
Any clues?
Copyright © 2021 Jogjafile Inc.
From a quick glance at the docs, Cuba can use any template
tiltsupports. So if you want to switch to ERB (HTML-based template), you'd switch the template engine:And then re-write all of your view code in ERB. Which seems like a lot of work compared to getting used to HAML, but alas.
There are tools to make HAML->ERB conversion easier, like
herbalizer.