How to include ui-grid font files into the project

前端 未结 8 772
独厮守ぢ
独厮守ぢ 2021-01-07 19:55

I have been stuck with anjularjs ui-grid, it\'s showing some Chinese symbols in place of icons. After digging about it I get to know I have to use some font-files provided b

8条回答
  •  时光取名叫无心
    2021-01-07 20:36

    Pretty much the same answer as Panciz and Vicruz, but I specified the relevant directories slightly differently:

    copy: {
         dist: {
            files: [{
               // other files here...
            }, {
               expand : true,
               cwd : 'bower_components/angular-ui-grid',
               dest : '<%= yeoman.dist %>/styles',
               src : ['*.eot','*.svg','*.ttf','*.woff']
            }]
         },
    

提交回复
热议问题