1

I was working on ruby on rails and was using slim html inside it and it was preety good. Now i am working on my final year project which is in Asp.net with mvc framework. My question is that can we use slim html in Asp.net to creat views ?

bilal
  • 79
  • 1
  • 1
  • 9

1 Answers1

1

Slim is built on ruby, so you'll need to use ruby to compile Slim to html. Your best bet might be to set up a script that runs during your build process and turns Slim templates into html. NHaml discussed here may be the closest thing you'll get in .Net land without a lot of trouble.

Community
  • 1
  • 1
Chase
  • 2,748
  • 2
  • 23
  • 32