Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

anyone using Smarty with build chain? sass/grunt/etc

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General
View previous topic :: View next topic  
Author Message
carpii
Smarty Rookie


Joined: 06 Sep 2008
Posts: 18

PostPosted: Sat Dec 30, 2017 12:06 am    Post subject: anyone using Smarty with build chain? sass/grunt/etc Reply with quote

Ive been using Smarty for a long time, but have always hand coded my smarty and HTML templates and this just isnt cutting it anymore

I need to migrate to a proper build chain, using sass, and grunt or maybe gulp, and perhaps coffeescript or HAML etc

I guess I need to find a chain of build tools which are able to accept input files (which by definition include smarty directives) and they then output smarty templates which my site can use at runtime

Could use some guidance here please.

Would love to hear from anyone who is using Smarty in this way (I worry that a robust solution would involve migrating away from Smarty to something else, which would be a shame)

Thanks
Back to top
View user's profile Send private message
AnrDaemon
Administrator


Joined: 03 Dec 2012
Posts: 1785

PostPosted: Sat Dec 30, 2017 1:03 am    Post subject: Reply with quote

So, you want to template templates?
I don't see a problem with it.
You just write your stuff that way.
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP