Fontawesome is not working when project is built with grunt

I had the same problem. The following code solved my problem. copy: { dist: { files: [{ expand: true, dot: true, cwd: ‘<%= config.app %>’, dest: ‘<%= config.dist %>’, src: [ ‘*.{ico,png,txt}’, ‘.htaccess’, ‘images/{,*/}*.webp’, ‘{,*/}*.html’, ‘styles/fonts/{,*/}*.*’ ] },{ expand: true, dot: true, cwd: ‘bower_components/bootstrap/dist’, // change this for font-awesome src: [‘fonts/*.*’], dest: ‘<%= config.dist %>’ … Read more

How to compile .sass files on save in Visual Studio 2015

This can also be achieved without gulp or grunt by simply clicking your way in Visual Studio. Install Web Compiler In Visual Studio, press Tools -> Extensions and updates. Search for Web Compiler (created by Mads Kristensen) and install. Restart of Visual Studio will be needed. Compile files Right-click the .scss-file in Solution Explorer to … Read more

How to uninstall npm package?

To uninstall a npm module from project node_modules folder, run: npm uninstall <module> –save Note that npm modules should be uninstalled from the same directory that contains the node_modules folder when running this command. The –save option will also remove it from your package.json One can also remove a local dependency/module installation, by deleting its … Read more

grunt (minimatch/glob) folder exclusion

In the currently-in-development version 0.4.0a, the grunt.file.expand method now supports exclusions, and does so in an arguably less complex way than the underlying minimatch matching library. This is possible because grunt.file.expand accepts multiple patterns (whereas minimatch only accepts one). From the grunt.file.expand documentation: This method accepts either comma separated wildcard patterns or an array of … Read more

Tried to Load Angular More Than Once

This could be a number of issues: essentially it’s a problem of routeProvider not finding a file and recursively loading the default. For me, it turned out that it wasn’t minification but concatenation of the js that caused the problems. angular.module(‘myApp’).config([‘$routeProvider’, function ($routeProvider) { $routeProvider .when(“https://stackoverflow.com/”, { templateUrl: ‘views/listing.html’, controller: ‘ListingCtrl’ }) .otherwise({ redirectTo: “https://stackoverflow.com/” … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)