Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
1. If primitive imports are needed, then you can add a call to the module that will "import" for example
2. If you use php, you can use Twig
3. If you need a full-fledged template engine without being tied to the backend, I like to use
If you just need to lay out, without any fuss with the backend and stuff, then one of the easiest ways to use Blendid .
There, out of the box, there will be a ready-made and convenient minimum of tools so that a full-fledged static site will come out.
If you are developing on windows, there is a small bug (actually not with him, but rather with yarn and or gulp) and you will need to run the blendid binary directly: "C:\blahblah\node_modules\.bin\blendid
well, respectively with the commands: "C:\blahblah\node_modules\.bin\blendid init
or "C:\blahblah\node_modules\.bin\blendid build
. It uses nunjucks
as a direct templating engine , browsersync is present and works as it should.
In short, the thing is convenient if you just need to make it up.
I really love EJS! But this is for those who write on the node
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question