0
启动时,我想让页面打开多个页面。Grunt开启多个页面?
一个人怎么使用咕噜开插件,打开多个页面?
E.g.我的配置是这样的:
module.exports = function (grunt) {
'use strict';
require('load-grunt-tasks')(grunt);
grunt.initConfig({
// ... Skip through all of the other config
open: {
server: {
url: 'http://localhost:<%= express.options.port %>/index.html'
}
},
grunt.registerTask('default', ['server', 'open']);
});