Hbuilder Complete WebApp Primer (2)

Source: Internet
Author: User

First, Hbuilder: http://www.dcloud.io/, click on the "DownLoad" can

Second, assuming everything goes well, after starting Hbuilder, we will see the following interface

Click New Mobile App:

Next, a dialog box will pop up that selects the template:

The default template option is "Empty template". Do not include any of the hbuilder-provided screen components, select the MUI project. It contains the MUI (the default-provided screen component, which is CSS and Javascript).

Do you know what MUI is? (Brief introduction: A high-performance front-end framework that is closest to the native app experience see http://dev.dcloud.net.cn/mui/

The name of the project is OK.

Three, a brief introduction of the tool class

After the project is built, some files appear in the left column as follows:

Where index.html is the entry file. CSS is the style sheet directory, fonts is the font directory, JS is the JavaScript directory, these three directories are MUI comes with.

Manifest.json is a profile, which is the configuration file of your app, such as the designation of the portal file, the designation of the icon.

Four, connect mobile phone launch app

Connect your phone to your computer and open the developer options.

Then click on the top toolbar:

Next you'll see your app running on your phone. Of course, because there is nothing, the picture is blank. If the phone link is not on, please check: http://ask.dcloud.net.cn/docs#http://ask.dcloud.net.cn/article/97

So far, we're ready to run the app on the phone and get out of the first step.

Hbuilder Complete WebApp Primer (2)

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.