Use your phone to preview your mobile project (Vue)

Source: Internet
Author: User

1. After NPM run Dev starts the Vue project. Example: Http://localhost:8095/#/chatList

2. View local IP (WIN + R + cmd) input ipconfig to view

3. Replace localhost with IP address example: http://192.168.1.6:8095/#/chatList

4, using forage two-dimensional code, will http://192.168.1.6:8095/#/chatList generate two-dimensional code

5, the phone and the computer connected to the same WiFi, scan code can be.

Use your phone to preview your mobile project (Vue)

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.