Learn the Jade template engine
Installing JADE:NPM install Jade with NPM
Install the jade Highlight plugin jade build in Sublime
Write the Jade Code
Compile the Jade code: in Sublime tools confirms that the build system (the compilation systems) chose Automatic (auto mode) or Jade
Press CTRL + B to compile
Compile results at bottom of sublime
Appear
[Decode error-output not Utf-8]
[Finished in 0.2s with exit code 1] ... Error
The result of the search is an environment variable that does not have jade configured
Considering that only Jade was installed under the current project and other projects were installed with jade and the environment variables were reconfigured, Jade was removed from the project.
Installing JADE:NPM install Jade–g in the global with NPM
Then follow the above process to compile, you will find the bottom of sublime appears
[90mrendered [36md:\ Learning \nodedev\learn1\views\layout.html[0m
[Finished in 1.0s]
An HTML file with the same name appears under the Jade File sibling folder
done!
Developing Jade with sublime text 3