Can you tell me how the jade template works? How to run the test after the compiler inside has written it? It is the first time to use nodeJS, and the first time to use jade. I don’t quite understand it.
What you said should be “editor”? , can write good code in the “compiler” inside, presumably very good!
And now it doesn’t seem to call
jade, changed to call:
pugHere we go.
Open a command line and install first
npm install pug-cli -g
If yes or no
windowsThe operating system, plus
Then write one
Then at the command line inside, use the
pugCommand to escape it to real
pug -P test.pug
And then automatically generated this appearance
htmlI don’t need to teach you how to use it.
Of course, this is the introduction of Xiaobai. High-level usage is integrated into other project building tools, inside. Take your time, you can’t eat a fat man at one breath.