Skip to content

hchiam/learning-pug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Learning pug (used to be called jade)

Just one of the things I'm learning. https://github.com/hchiam/learning

Tutorial: https://www.sitepoint.com/a-beginners-guide-to-pug

yarn add pug
yarn global add pug-cli
pug -w test.pug -o ./html -P
# -w means watch
# -o is for output
# -P is for prettify

test.pug -> html/test.html

More reading

For combining with Express.js and data, see "A Hands-on Example" in https://www.sitepoint.com/a-beginners-guide-to-pug

https://pugjs.org/language/mixins.html

https://pugjs.org/language/interpolation.html

https://pugjs.org/language/inheritance.html

About

Learning pug

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published