How a project built by VUE-CLI runs on the phone and how to use Charles to grab the bag

Source: Internet
Author: User

Just start their own in the Config folder under the dev host under the index.js is localhost, but found that they can not be accessed on the mobile phone, and can not be in Charles to grab the packet processing, and then the localhost to their own computer IP on it!

For the clutch, actually download Charles to install, and then for the Android phone to choose their own wifi, if previously connected, first disconnect, reconnect, but do not enter the WiFi password, check the advanced options, select "Agent" for manual, and fill in their own server host name for the computer IP address, As for the server port, Charles default is 8888 port, so you fill that out, and then enter the password on it, this time to start Charles, in the mobile phone input VUE-CLI project address, you can!

How a project built by VUE-CLI runs on the phone and how to use Charles to grab the bag

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.