npm install bootloader-js --save
and add in
<script src="./node_modules/bootloader-js/dist/bootloader.min.js"></script>
after script bootloader
<script>
window.blConfig = {
prefix: 'BL.',
lifeTime: 43200000, // default 12 hours
noRequireWaitTime: 10000, // default 10 sec.
cookieName: 'firstLoadBL',
cookieExpires: 43200000, // default 12 hours expires
iframeUrl: false, // for cross origin localStorage
};
</script>
after bootloader script and config
<style type="text/css" data-hash="{{ hashFile }}" data-require="1" data-url="{{ urlFile }}"></style>
for javascript file add in
<script type="text/javascript" data-hash="{{ hashFile }}" data-require="1" data-src="{{ urlFile }}"></script>