Open Jan-H-Hu opened 6 years ago
I haven't tested vash with a recent version of express. When you run your code, are you seeing anything odd in your output? Such as [VASHMARK-
? If so, the issue is probably this one: https://github.com/kirbysayshi/vash/issues/35#issuecomment-38408041
Basically, a function must be called to signal to vash that rendering has finished.
Hello Together
First of all many thanks for Razor Views under Javascript.
I have a question about vash.helpers.include I'm not quite sure how the method is used. I work with Nodejs 8.x, express 4.18, Typescript and vash 0.12.4.
Now you would like to include a "Partial View" in a page. I heard it from Razor:
I think the method "vash.helpers.include" unfortunately does not work.
Can somebody help me? What's missing?
index.ts
Index.vash
Test.vash (PartialView)
Best Regards
Jan
Edit: Sorry my mistake : => @html.include('Test', null);