flux:web-basic00
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
flux:web-basic00 [2016/04/02 18:27] – created leo | flux:web-basic00 [2016/04/03 23:38] (current) – leo | ||
---|---|---|---|
Line 85: | Line 85: | ||
< | < | ||
npm install grunt-contrib-concat --save-dev | npm install grunt-contrib-concat --save-dev | ||
+ | npm install grunt-contrib-sass --save-dev | ||
+ | npm install grunt-contrib-watch --save-dev | ||
</ | </ | ||
+ | |||
+ | === dev : documentation des plugins === | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
===== fichiers de configuration ===== | ===== fichiers de configuration ===== | ||
Line 96: | Line 103: | ||
==== .gitignore ==== | ==== .gitignore ==== | ||
< | < | ||
- | /node_modules/* | + | .DS_Store |
- | /site/* | + | node_modules |
+ | .tmp | ||
+ | site | ||
+ | .sass-cache | ||
</ | </ | ||
Line 111: | Line 121: | ||
==== gruntfile.js ==== | ==== gruntfile.js ==== | ||
< | < | ||
+ | module.exports = function (grunt) { | ||
+ | grunt.initConfig({ | ||
+ | concat: { | ||
+ | dist: { | ||
+ | src: [' | ||
+ | dest: ' | ||
+ | }, | ||
+ | }, | ||
+ | sass: { | ||
+ | dist: { | ||
+ | options: { | ||
+ | style: ' | ||
+ | }, | ||
+ | files: { | ||
+ | ' | ||
+ | }, | ||
+ | }, | ||
+ | }, | ||
+ | }); | ||
+ | |||
+ | grunt.loadNpmTasks(' | ||
+ | grunt.loadNpmTasks(' | ||
+ | grunt.registerTask(' | ||
+ | }; | ||
</ | </ |
flux/web-basic00.1459614464.txt.gz · Last modified: 2016/04/02 18:27 by leo