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)