generator-angular-material-fullstack icon indicating copy to clipboard operation
generator-angular-material-fullstack copied to clipboard

no icons after fresh generation

Open rriemann opened this issue 9 years ago • 2 comments

I don't get icons when I start my app with grunt serve. After generation, I have nothing changed.

I'm using [email protected].

screeshot

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": ""
  }

rriemann avatar Dec 02 '15 12:12 rriemann

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)

rriemann avatar Dec 03 '15 00:12 rriemann

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

manjeshpv avatar Dec 03 '15 05:12 manjeshpv