generator-angular-material-fullstack
generator-angular-material-fullstack copied to clipboard
no icons after fresh generation
I don't get icons when I start my app with grunt serve
. After generation, I have nothing changed.
I'm using [email protected]
.
my .yo-rc.json
:
{
"generator-angular-material-fullstack": {
"insertRoutes": true,
"registerRoutesFile": "server/routes.js",
"routesNeedle": "// Insert routes below",
"routesBase": "/api/",
"pluralizeRoutes": true,
"insertSockets": true,
"registerSocketsFile": "server/config/socketio.js",
"socketsNeedle": "// Insert sockets below",
"filters": {
"babel": false,
"coffee": true,
"jade": true,
"sass": true,
"uirouter": true,
"material": true,
"mongoose": true
}
},
"generator-ng-component": {
"routeDirectory": "client/app/",
"directiveDirectory": "client/app/",
"filterDirectory": "client/app/",
"serviceDirectory": "client/app/",
"basePath": "client",
"moduleName": "",
"filters": [
"uirouter"
],
"extensions": [
"coffee",
"jade",
"scss"
],
"directiveSimpleTemplates": "",
"directiveComplexTemplates": "",
"filterTemplates": "",
"serviceTemplates": "",
"factoryTemplates": "",
"controllerTemplates": "",
"decoratorTemplates": "",
"providerTemplates": "",
"routeTemplates": ""
}
Apparently, this must be placed in app.coffee
:
.config ($mdIconProvider) ->
$mdIconProvider
.iconSet('social', 'assets/iconsets/social-icons.svg', 24)
.iconSet('navigation', 'assets/iconsets/navigation-icons.svg', 24)
I also faced same issue, https://github.com/manjeshpv/generator-angular-material-fullstack-example/blob/master/client/app/app.coffee
https://github.com/manjeshpv/generator-angular-material-fullstack-example