HelloWorld WeChat applet

Source: Internet
Author: User
It is better to read it for thousands of times. Let's make a simple HelloWorld together. It is better to read it for thousands of times. Let's make a simple HelloWorld together.

1. download and install the mini-program developer tool. download path:

Https://mp.weixin.qq.com/debug/wxadoc/dev/devtools/download.html

Select windows 64, windows 32, or mac based on your operating system type.

2. create a project

(1) add a project

Click "Add project" to create a project.

Click "edit" in the left-side navigation bar of the developer tool. we can see that this project has been initialized and contains some simple code. Including app. js, app. json, app. wxss, and pages and utils.

Among them, the most important are app. js, app. json, and app. wxss.

App. js: This file is the entrance file of the entire applet.

App. json: This file is the global configuration file of the applet. it determines the path, window performance, and network timeout.

App. wxss: a small program style file. you can think of it as CSS in html.

So far is the HelloWorld applet? Easy enough. In the next article, let's have a deep understanding of the code structure of the applet.

For more articles about HelloWorld mini-programs, please follow the PHP Chinese web!

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.