In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces WeChat Mini Programs ES6 how to transfer ES5 related knowledge, the content is detailed and easy to understand, the operation is simple and fast, has a certain reference value, I believe that everyone after reading this WeChat Mini Programs ES6 how to transfer ES5 article will have a harvest, let's take a look at it.
The project page card has three main functions.
Show current project details
Includes icons, AppID, directory information, and when the code was last submitted, as well as the size of the code package.
Submit Preview and submit upload
Click the Preview function, and the tool will upload the source code to the Wechat server. After success, it will display a QR code. Any developer bound to AppID can scan the QR code with the new version of Wechat to see the real performance of the corresponding project on the phone.
Click upload, and the tool will upload the source code to the Wechat server, and the developer can see the submission in the mp management background. It should be noted that the code upload function can only be operated by the administrator's WeChat account.
Project configuration from ES6 to ES5
In 0.10.101000 and later development tools, babel will be used by default to convert the developer code ES6 syntax into ES5 code that can be well supported by all three sides to help developers solve the development problems caused by different environments. Developers can turn off this feature in the project settings. Details
It is important to note that:
In order to improve code quality, when ES6 conversion is enabled, javasctipt strict mode is enabled by default. Please refer to "use strict".
Monitor file changes and automatically refresh developer tools
When this option is enabled, when the files related to the current project are changed, it will automatically help developers refresh the debugging simulator, thus improving development efficiency.
Compressed code
When this option is enabled, the development tool will help developers compress the javascript code and reduce the size of the code package when uploading the code.
Style completion
When this option is turned on, the development tool will automatically detect and fill in the missing styles to ensure normal display on the iOS8.
Do not verify the requested domain name and TLS version
When this option is enabled, the development tool will not verify the secure domain name and the TLS version to help better debug in the development process.
Switch the version of the basic library
Developers can choose any version of the base library here to develop and debug the compatibility of older versions.
This is the end of the article on "how to transfer WeChat Mini Programs ES6 to ES5". Thank you for reading! I believe you all have a certain understanding of the knowledge of "how to transfer WeChat Mini Programs ES6 to ES5". If you want to learn more knowledge, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.