3 Star 0 Fork 0

jere / office-automation-front

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
server.js 560 Bytes
一键复制 编辑 原始数据 按行查看 历史
jere 提交于 2016-07-12 13:19 . init react
/*eslint no-console:0 */
'use strict';
require('core-js/fn/object/assign');
const webpack = require('webpack');
const WebpackDevServer = require('webpack-dev-server');
const config = require('./webpack.config');
const open = require('open');
new WebpackDevServer(webpack(config), config.devServer)
.listen(config.port, 'localhost', (err) => {
if (err) {
console.log(err);
}
console.log('Listening at localhost:' + config.port);
console.log('Opening your system browser...');
open('http://localhost:' + config.port + '/webpack-dev-server/');
});
JavaScript
1
https://gitee.com/jere-l/office-automation-front.git
git@gitee.com:jere-l/office-automation-front.git
jere-l
office-automation-front
office-automation-front
master

搜索帮助