Closed williamrussell-grindr closed 7 years ago
Thanks for your response Moifort. It does appear to be my setup when compiling for production.
bootstrap-material.config.js cannot find "compileServiceConfig"?
` (function() { 'use strict';
angular
.module('acmeSiteApp')
.config(bootstrapMaterialDesignConfig);
compileServiceConfig.$inject = [];
function bootstrapMaterialDesignConfig() {
$.material.init();
}
})();
`
Update:
Im not sure if this is correct, but I changed: compileServiceConfig.$inject = []; to bootstrapMaterialDesignConfig.$inject = [];
And I get this error now.
Error: [$injector:modulerr] Failed to instantiate module acmeSiteApp due to: undefined is not an object (evaluating '$.material.init')
bootstrapMaterialDesignConfig.$inject = [];
plus clearing the cache seems to have fixed it.
letting you close this... in-case that line was wrong.
Cool! 👍 Have a nice coding!
I have a generic Monolith application from JHipster. The first thing I did was install Material Design. However, when I run for production, it only displays a blank white page.
Any help?