Skip to content

Instantly share code, notes, and snippets.

@alexfedoseev
Last active Aug 29, 2015
Embed
What would you like to do?
Jade template: iteration 1
doctype html
html
// Injecting `locals.head`
!= head
body
// Injecting `locals.body`
#app!= body
// Injecting `locals.chunks` global for webpack
script.
window.__CHUNKS__ = !{chunks};
// Injecting js assets
script(src="#{vendorAsset}")
script(src="#{jsAsset}")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment