You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
[JS] Compass(Scss)ã®ãã«ããé ãã®ã§ããã«ãã¹ã¬ããã§é«éã§Compassãã«ãããgruntã¿ã¹ã¯ãä½ã£ã¦ã¿ã¾ãã ããã«ã¡ã¯ã@yoheiMuneã§ãã Compass(Sass)ãä»äºã§ä½¿ãã®ã§ããã@extendã¨ãããã£ã±ãããã¨ãã«ãã«æéããããããã«ãªã£ã¦ãã¾ããã ä»åã¯ããã®å¯¾çã¨ãã¦gruntã®ã¿ã¹ã¯ã¨ãã¦ãcompassãã«ãããã«ãã¹ã¬ããã§é«éåããã¿ã¹ã¯ãä½ã£ãã®ã§ãç´¹ä»ããã¦é ãããã¨æãã¾ãã Compassã®ãã«ãã¯æéããããï¼ Compassã£ã¦ããã便å©ãªãã¼ã«ã§ãCSSãã¢ã¸ã¥ã¼ã«ãåºæ¥ããæ¡ä»¶ãã¨ã«ä½¿ãåããããã¦ãCSSã®ã³ã¼ãã£ã³ã°ã®å¹çåãåºæ¥ã¾ãã ã§ããç»åã®Base64åãSpriteåã@extendã§å ±éCompassã¢ã¸ã¥ã¼ã«ã使ãã³ã¼ããªã©ãå¢ããã¨ãã³ã³ãã¤ã«ã«æéãããã£ã¦ãã¾ãã èªèº«ãé¢ãã£ã¦ããæ¡
åã åååGruntãç¸å¤ãããã¡ããã¡ããå¼ã£ã¦ä¾¿å©ã«ãªãããã«ãã£ã¦ãã触ãç²æããã£ã¦é¢ç½ãã ä»åã¯ãéçºç¨ã¨å ¬éç¨ã§ãã£ã¬ã¯ããªãåããã£ã¦ããã®ãããã¾ã åèã«ããã¦ããã ãã¾ããGruntã§å¹çåï¼ ãªãªã¼ã¹åã®é¢åãªä½æ¥ãã¾ã¨ãã | MONSTER DIVEãã¢ã³ã¹ã¿ã¼ãã¤ããgrunt.js - grunt-contrib-connectã§ã®ã«ã¼ããã©ã«ãæå® - Qiita [ãã¼ã¿]ã»ã¼ä¸è¨ãäºäººã®æ¸ãæ¹ä¸¸ãã¯ãªã§ã!!!ãã¿ã¾ãã!!!!ãããã¨ããããã¾ã!!!!! ãã®2è¨äºã¨åååã åã¨ãã£ã¦æ¥ããã®ãçµã¿åãããæãã«ãªã£ã¦ããã ãããããã¨éçºæãã©ã«ãç£è¦Sass/Compassã®ã³ã³ãã¤ã«ãã¡ã¤ã«ä¿åæã«ãã©ã¦ã¶ãèªåãªãã¼ãå ¬éæå ¬éç¨ãã£ã¬ã¯ããªã«ãã¡ã¤ã«ãã³ãã¼HTMLã®minifyCSSã®ããããã£ãæ´çCSSã®Media Queries
CSSã¹ãã©ã¤ããçæãããgrunt-spritesmithã grunt-spritesmithã¯CSSã¹ãã©ã¤ããçæããGruntã¢ã¸ã¥ã¼ã«ã§ãã Gruntã®åºæ¬çãªä½¿ãæ¹ã¯ãGruntã§å§ããWebå¶ä½ã®èªåå - to-Rããåç §ã«ã grunt-spritesmithã®ã¤ã³ã¹ãã¼ã«ã¯ä»¥ä¸ã®ã³ãã³ãã§ãã npm install grunt-spritesmith --save-dev Gruntfile.jsã®å 容ã¯ä»¥ä¸ã®ããã«ãã¾ããsrcã§åå¥ã®ç»åãç½®ããã£ã¬ã¯ããªããdestCSSã§é¢é£ããCSSãæ¸ãåºããã¡ã¤ã«å(SassãLessãStylusã§ãOK)ããdestImgã§çµåããã¹ãã©ã¤ãç»åã®ãã¡ã¤ã«åãæå®ãã¾ãã module.exports = function(grunt) { //ã°ã©ã³ãã¿ã¹ã¯ã®è¨å® grunt.initConfig({ spr
æè¿ãGrunt 㨠grunt-contrib-watch ã使ã£ã¦ããã®ã ãã©ãgrunt-contrib-watch ã CPU ãæ¶è²»ããã¡ã§ããã watch 対象ã®ãã¡ã¤ã«ãå°ãªããã¡ã¯ grunt-contrib-watch ã¯åé¡ãªãåããã ãã©ãããã¡ã¤ã«æ°ãå¢ãã¦ãã㨠CPU ã®æ¶è²»éãå¢ãã¦ãããèªåã®ç°å¢ã§ã¯ã1,000 åãããã®ãã¡ã¤ã«ãç£è¦ãã¦ããã¨ã常æ 10% ç¨åº¦ CPU ãæ¶è²»ãã¦ããã ãã®åé¡ã¯æ¢ç¥ã§ãããFAQ ã«ã¯æ¬¡ã®ããã«æ¸ãã¦ããã ããããã®ãã¡ã¤ã«ãç£è¦ãã¦ããå ´åãããã©ã«ãã® interval ã®å¤ãå°ãããããããããªããoptions: { interval: 5007 } ã®ããã«ãã¦å¢ããã¦ã¿ã¦ã»ããã詳ãã㯠issues #35 㨠#145 ãåç §ã®ã㨠(â»æ¥æ¬èªè¨³ã¯ç§ã«ãããã®) Another reason i
ç§ãæ å½ããã¨ã³ã¿ã¼ãã©ã¤ãºã®ããã³ãéçºã§ã¯ã1 å¹´ã»ã©åãã Grunt ã«ãããã«ãããã»ã¹ãå°å ¥ãã¦ãã¦ãèªåã§ãããã¸ã§ã¯ãã®ç¹æ§ã«å¿ã㦠Gruntfile.js ã®ã¿ã¹ã¯ããã¶ã¤ã³ããæ©ä¼ãå¤ãã®ã§ãããæè¿æµè¡ã® Yeoman ãåãåºã Gruntfile.js ãè¦ãã¨ãªããªãåèã«ãªãç¹ããã£ãã®ã§ãããã¤ãç´¹ä»ãããã¨æãã¾ãã ç®æ¬¡ 1. load-grunt-tasks 2. ãã³ãã¬ã¼ã 3. ãã¡ã¤ã«æå®æ¹æ³ãããã ã*ã ã{}ã ã{,*/}ãã£ã¦ä½ï¼ 4. å¤é¨ãã©ã¡ã¼ã¿ã«ããã¿ã¹ã¯åå² 5. å¤é¨å®ç¾©ãã¡ã¤ã«ã®ã¤ã³ãã¼ã ã¾ã¨ã 1. load-grunt-tasks load-grunt-tasksã¨ã¯ package.json ã«å®ç¾©ããã¦ãã Grunt ã¿ã¹ã¯ãè¦ã¦ãã¿ã¹ã¯èµ·åæã«ãã¼ããã¦ãããã¢ã¸ã¥ã¼ã«ã§ããããã§ã¿ã¹ã¯ãå¤æ´ãããã³ã«
Grunt ã使ã£ãwebsite製ä½ç¨ã®ããã©ã«ãã»ãããä¸å¼ä½ã£ã¦ã¿ã ã½ã¼ã¹ã³ã¼ãä¸å¼ æºå ä¸è¨ãã¤ã³ã¹ãã¼ã«ããã¦ããªãå ´åã¯ãè¦ã¤ã³ã¹ãã¼ã« node.js grunt-cli node.js ã®ã¤ã³ã¹ãã¼ã« node.jsãã¤ã³ã¹ãã¼ã«ãnodebrewã使ã£ã¦ç®¡çãã grunt-cli ã®ã¤ã³ã¹ãã¼ã« grunt-cli ã¯grunt ãå®è¡ããããã ãã®ããã±ã¼ã¸ãªã®ã§ãã-gãã§ã°ãã¼ãã«ã«ã¤ã³ã¹ãã¼ã«ãã¦ãã $ npm install -g grunt-cli Grunt ã®ã¤ã³ã¹ãã¼ã« Grunt ãå®è¡ããã«ã¯ä¸è¨ãå¿ è¦ package.json ï¼ããã¸ã§ã¯ãã®æ å ±ãè¨è¿°ããè¨å®ãã¡ã¤ã«ï¼ Grunt.js Gruntãã©ã°ã¤ã³ ï¼sassã®ã³ã³ãã¤ã«ãªã©ãGruntã§å®è¡ããã¿ã¹ã¯ï¼ Gruntfile.js ï¼Gruntã§å®è¡ããã¿ã¹ã¯ãè¨è¿°ãããã¡ã¤ã«
ç¾å ´ã§ä½¿ããGruntå ¥é 第1å Gruntã試ãã ã·ãªã¼ãºç¬¬1åç®ã¯Gruntã®æ¦è¦ãã¤ã³ã¹ãã¼ã«æ¹æ³ãç°¡åãªã¿ã¹ã¯ã®å®è¡æ¹æ³ã¾ã§ã解説ãã¤ã¤ãGruntã使ãããã®éçºç°å¢ãæ´ãã¾ããGruntã®ã¡ãã£ã¨ãããããä»çµã¿ãããªããã®ãããªä»çµã¿ãå¿ è¦ãªã®ãã«ã¤ãã¦ã解説ãã¾ãã ã¯ããã« ãã®ã·ãªã¼ãºã§ã¯ãJavaScriptã§æ¸ãããã¿ã¹ã¯ã©ã³ãã¼ãGruntã«ã¤ãã¦ãåºæ¬çãªé¨åã解説ãã¾ãããªãããã®è¨äºã¯ãGrunt version 0.4.0 ã®æç¹ã§æ¸ããããã®ã§ããå ¨3åã§æ§æããã¦ãã¾ãã ãµã³ãã«é æ¬ã·ãªã¼ãºã§ä½¿ããµã³ãã«ã¯ã以ä¸ãããã¦ã³ãã¼ãã§ãã¾ãã pxgrid/codegrid-grunt · GitHub 第1åç®ã§ã¯ãGruntã®æ¦è¦ãã¤ã³ã¹ãã¼ã«æ¹æ³ãç°¡åãªã¿ã¹ã¯ã®å®è¡æ¹æ³ã¾ã§ã解説ãã¾ãã Gruntã£ã¦ãªã«ï¼ ã¿ãªããã¯ãjQueryã使ãæ
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}