On Monday, 9 March 2020 at 17:46:42 UTC, Steven Schveighoffer wrote:
On 3/9/20 1:23 PM, GreatSam4sure wrote:
[...]

You can use it, but you have to compile it yourself. Vibe.d does nothing with the javascript except serve it to the browser. It has no restrictions on what files can be sent, but does not convert anything for you.

[...]

No. This means that if you wanted to use, for instance, a diet template to generate typescript, this would not work.

My recommendation in that case is to generate javascript data using diet templates, and use it from a Typescript file that is pre-compiled before being served via vibe.d.

-Steve


Thanks, that is what I want to know

Reply via email to