Mastering Yii by Charles R. Portwood II

Mastering Yii by Charles R. Portwood II

Author:Charles R. Portwood II [Portwood II, Charles R.]
Language: eng
Format: azw3, mobi, pdf
Publisher: Packt Publishing
Published: 2016-01-27T16:00:00+00:00


We then begin configuring our Grunt tasks by telling Grunt where it can find our package.json file, and setting up some basic path aliases.grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), paths: { assets: 'web', bower: 'vendor/bower', css : '<%= paths.assets %>/css', js: '<%= paths.assets %>/js', dist: '<%= paths.assets %>/dist', }, }

Within this section we then define our task to concatenate our JavaScript and CSS files.concat: { css: { src: [ '<%= paths.bower %>/pure/pure-min.css', '<%= paths.css %>/*' ], dest: '<%= paths.dist %>/app.css' }, js : { src: [ '<%= paths.js %>/*.js' ], dest: '<%= paths.dist %>/app.js' } },



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.