cooking
cooking copied to clipboard
如何修改本地的devServer
cooking version
What is Expected?
What is actually happening?
Administrator@XXY-20170215LFV MINGW64 /e/workspace_cooking/my-project
$ npm run dev
> [email protected] dev E:\workspace_cooking\my-project
> cooking watch -p
[[email protected]] - Loaded success: autoprefixer
[[email protected]] - Loaded success: lint
[[email protected]] - Loaded success: vue2
[[email protected]] - Loading server...
[[email protected]] - Listening at http://0.0.0.0:8080
webpack: Compiled successfully.
访问0.0.0.0:8080,访问不到项目
127.0.0.1:8080
devServer: {
port: 8080,
publicPath: '/',
hostname: '0.0.0.0'
}