uni-app project construction and operation

Create uni-app

  • Click File->New->Project in the toolbar
    Insert image description here
  • Select the uni-app project type, select a template, and click Create.

Run uni-app

  • Run in WeChat developer tools:

Click Tools on the HBuilderX compiler toolbar->Settings->Run Configuration->Fill in the path to the WeChat Developer Tools installation.

Click Run->Run to Mini Program Simulator->WeChat Developer Tools on the HBuilderX compiler toolbar.

  • Run on a real device: Connect the mobile phone, turn on USB debugging, click Run on the toolbar -> Run to mobile phone or simulator -> Select the device to run on.

(The following content and operations are the same as above, please refer to)

  • The browser is running.
  • Run in Alipay applet developer tools.
  • Run in Baidu developer tools.
  • Run in Bytedance developer tools.
  • Import in 360 development tools.
  • Run in the Quick App Alliance tool.
  • Run it in Huawei developer tools.
  • Run it in the QQ applet development tool.

Guess you like

Origin blog.csdn.net/m0_47454283/article/details/119884666