1.node啓動vue項目時地址通常都是http://localhost:8080javascript
2.config->index.js 中的host:‘localhost’換成host:‘你的本機ip’就能夠了vue
module.exports = { dev: { host: '192.168.1.100' } }