Skip to content
This repository has been archived by the owner on Dec 12, 2017. It is now read-only.

如何修改本地的devServer #161

Open
q640202047 opened this issue Mar 29, 2017 · 2 comments
Open

如何修改本地的devServer #161

q640202047 opened this issue Mar 29, 2017 · 2 comments

Comments

@q640202047
Copy link

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,访问不到项目

@sandmanman
Copy link

127.0.0.1:8080

@hizhengfu
Copy link

devServer: { port: 8080, publicPath: '/', hostname: '0.0.0.0' }

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants