Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slim in Rails asset pipline #98

Open
junaidatique opened this issue Dec 15, 2015 · 2 comments
Open

Slim in Rails asset pipline #98

junaidatique opened this issue Dec 15, 2015 · 2 comments

Comments

@junaidatique
Copy link

I have an application that has slim templates. Now we are planning to migrate this to backbone. I tried to use slim in JS templates like file_name.jst.eco.slim. it works for the html part but ruby code does not work in it. One can do such things in HAML using haml_assets gem but I don't find anything like this in slim.
The slim_assets gem does not work.

Please advise.

@januszm
Copy link
Contributor

januszm commented Mar 4, 2017

@junaidatique you mean this? https://github.com/crowdint/slim_assets or a fork https://github.com/dabit/slim_assets ? Maybe we can extract some code from it and make it work again.

@januszm
Copy link
Contributor

januszm commented May 20, 2021

@junaidatique I think this PR will solve your issue: #148

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants