vuejs / vue-cli

🛠️ webpack-based tooling for Vue.js Development
https://cli.vuejs.org/
MIT License
29.76k stars 6.33k forks source link

Vue UI host ignored in configuration #5274

Open aminnairi opened 4 years ago

aminnairi commented 4 years ago

Version

4.2.3

Environment info

  System:                                                                                                │
    OS: Linux 5.4 Alpine Linux                                                                           │
    CPU: (4) x64 Intel(R) Core(TM) m3-6Y30 CPU @ 0.90GHz                                                 │
  Binaries:                                                                                              │
    Node: 12.15.0 - /usr/bin/node                                                                        │
    Yarn: Not Found                                                                                      │
    npm: 6.13.4 - /usr/bin/npm                                                                           │
  Browsers:                                                                                              │
    Chrome: Not Found                                                                                    │
    Firefox: Not Found                                                                                   │
  npmGlobalPackages:                                                                                     │
    @vue/cli: 4.2.3

Steps to reproduce

$ echo "module.exports = { devServer: { host: '0.0.0.0' }};" > vue.config.js && vue ui

What is expected?

The host parameter should be accounted when running vue ui.

What is actually happening?

The host parameter is not accounted when running vue ui.

casinonetwork commented 4 years ago

i agree with this