Quickly and easily make a web application bootstrap program!
$ npm install weboot -g
# or
$ yarn global add weboot
$ weboot --help
$ weboot path/to/index.html -b boot.js
boot.js
// Invoked before resources start load
onReady(function(callback) {
// ...
callback(); // <-- required
});
// Invoked when the resource is loading
onProgress(function(percentage, resource) {
// ...
});
// Invoked when the resource is load failed
onError(function(error) {
// ...
});
// Invoked after all resources loaded
onDone(function() {
// ...
});
boot.css [option]
/* custom style code */
MIT License.
Enjoy it