Tag:webpackvue.jscsshtmljavascript
Article From:https://segmentfault.com/q/1010000012153979
Question:

vue-cliAfter the webpack template update, access to the local address can not be accessed. How can I change the settings?

Answer 0:

Open config/index.js, change the host in dev to 0.0.0.0 and re run dev; if you want to open the browser automatically, change autoOpenBrowser to true.

Leave a Reply

Your email address will not be published. Required fields are marked *