Handlebars.js Tutorial (webpack integration at the end)



Since the filming of this lesson webpack has changed their API so don’t type out the exact webpack code you see on my screen. Instead, my GitHub link below has the newest code changes that will work. NOTE: in my updated version you do NOT need the dollar sign $ before the helper name in your templates.

My front-end course: https://www.udemy.com/git-a-web-developer-job-mastering-the-modern-workflow/?couponCode=YOUTUBEDEAL
My new advanced WordPress course: https://www.udemy.com/become-a-wordpress-developer-php-javascript/?couponCode=YOUTUBEDEAL

“Follow along” code: http://codepen.io/anon/pen/qqPegg

“Finished product” code: http://codepen.io/anon/pen/WoddJb?editors=1010

Webpack Handlebars Example Repo: https://github.com/LearnWebCode/handlebars-webpack

Add me on Twitter for webDev updates and cat pics: https://twitter.com/learnwebcode

source

סרטונים נוספים