1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

append bundle script to body (#353)

This commit is contained in:
Luke Edwards 2016-12-06 15:53:50 -08:00 committed by Naoyuki Kanezawa
parent 7ee6b0f4b0
commit 249a0c4007

View file

@ -45,7 +45,7 @@ function createClientScript ({ dev, cdn }) {
script.onload = function () { fn(null) }
script.onerror = fn
script.crossorigin = 'anonymous'
document.head.appendChild(script)
document.body.appendChild(script)
}
})()
`}} />