mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-29 15:12:58 +03:00
12 lines
446 B
JavaScript
12 lines
446 B
JavaScript
|
/** Script to load live Portal script chunks for local development */
|
||
|
function loadScript(src) {
|
||
|
var script = document.createElement('script');
|
||
|
script.src = src;
|
||
|
document.head.appendChild(script);
|
||
|
}
|
||
|
|
||
|
loadScript('http://localhost:3000/static/js/bundle.js');
|
||
|
loadScript('http://localhost:3000/static/js/1.chunk.js');
|
||
|
loadScript('http://localhost:3000/static/js/0.chunk.js');
|
||
|
loadScript('http://localhost:3000/static/js/main.chunk.js');
|