后来找了找是端口被占用的缘故,dev: {
env: require('./dev.env'),
port: 8088, # 注意了啊。。。修改成你要的端口,接着运行代码就看到效果了
assetsSubDirectory: 'static',
assetsPublicPath: '/',
proxyTable: {},
// CSS Sourcemaps off by default because relative paths are "buggy"
// with this option, according to the CSS-Loader README
// (https://github.com/webpack/css-loader#sourcemaps)
// In our experience, they generally work as expected,
// just be aware of this issue when enabling this option.
cssSourceMap: false
}
网友评论