亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

Warning: Task "copy" not found. Use --force to continue.

Warning: Task "copy" not found. Use --force to continue.

'use strict'module.export=function(grunt){ //加載插件 require('load-grunt-tasks')(grunt); require('time-grunt')(grunt); //配置項目路徑 var config={ app:'app', dist:'dist' }; //配置項目設置 grunt.initConfig({ config:config, //定義Task copy:{ dist_html:{ src:'<%=config.app%>/index.html', dest:'<%=config.dis%>/index.html' }, dist_js:{ src:'<%=config.app%>/js/index.js', dest:'<%=config.dis%>/js/index.js' } },? ? //另一種寫法 //copy:{? ? // ?files:[? ? // ? ?{? ? // ? ? ?src:'<%=config.app%>/index.html',? ? // ? ? ?dest:'<%=config.dis%>/index.html'? ? // ? ?},? ? // ? ?{? ? // ? ? ?src:'<%=config.app%>/js/index.js',? ? // ? ? ?dest:'<%=config.dis%>/js/index.js'? ? // ? ?}? ? // ?]? ? //}, clean:{ dist:{ src:['<%=config.dis%>/index.html','<%=config.dis%>/js/index.js'] } } });}
查看完整描述

1 回答

?
qq_微笑面對明天_03333702

TA貢獻1條經驗 獲得超0個贊

求大神解決

查看完整回答
反對 回復 2016-05-15
  • 1 回答
  • 0 關注
  • 1879 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號