Reputation: 352
I read a way to implement json data in jade with the following code: h1 = t('pages.index.headline') But it doesn't work. All I get is this line as normal text or if I write "h1= t(..." instead of "h1 = t(..." my precompiler (Prepros) says "t is not a function".
Upvotes: 0
Views: 1555
Reputation: 2150
This same thing got me strugglin some time ago, this posts help me a lot:
Upvotes: 1