You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Love the package, but trying to use the same template on server and client side. Have tried using the visionmedia/ejs client side library, unfortunately it expects a 'foreach' in the template, whereas ejs-locals partial does not. Is there a recommended way to do this, or is client-side support coming?
Thanks.
The text was updated successfully, but these errors were encountered:
Any template will be automatically available in the client code (in the global JST variable). (If you're using EJS, if not then you'll have to do your own implementation).
That's just a tip, sails is a good framwork, maybe it can help you, maybe not.
Love the package, but trying to use the same template on server and client side. Have tried using the visionmedia/ejs client side library, unfortunately it expects a 'foreach' in the template, whereas ejs-locals partial does not. Is there a recommended way to do this, or is client-side support coming?
Thanks.
The text was updated successfully, but these errors were encountered: