Get 2024 Templates Mega Bundle!$1000 worth of 19 Bootstrap HTML, Vue & React Templates + 3 Vector Sets for just $99
Get for 99$

Rails template improvements


Hi, your template is very valuable but, as someone noted before, the Rails implementation is not so good.
I'm happy to see that Rails 7 is being used, but it doesn't follow any of the "rails way" of managing assets.
I'm still trying to understand how all the elements come together but the first obstacle I've met (during the first deploy in production on Heroku) is the use of sassc-rails which is deprecated and not updated anymore since 2019. I suggest you to update the starter kit with the use of dartsass-rails instead, the migration is pretty straightforward and described on the gem page.
I'll add some more suggestions as is dive in the template.


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (3)


I'll add another note. In your documentation for Rails deployment on Heroku ( https://preview.keenthemes.com/rails/metronic/docs/getting-started/troubleshoot/keenicons ), you describe a complicated process to fix fonts in production, but to make them working the only thing I had to change was the relative path of the various URLs in "plugins.bundle.css" from url("assets/global/fonts/[...]") to simply url("fonts/[...]"). And it continue to work in development.

BTW Sean I'm really excited to see what you have in store for Rails support, if you need help or a testing environment I can help. ;)



Hi,

Thank you for the solution. We will test it and consider updating our docs.

Sure, we will let you know if we need any help with the testing. Appreciate you willing to contribute happy

Regards.



Hi,

Thank you for your feedback and suggestions.

We are aware of this and we will improve it in the near future. We are not working on a new core assets structure for Bootstrap and Tailwind and we aim to provide improvements for Rails support ASAP.

Sure, if you have more suggestions please do let us know. We have huge plans for those backend framework integrations including Rails.

Regards.


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(