1. The operating environment is different
Web development runs in the browser, and applets run in WeChat
2. The APIs used are different
Due to the different operating environments, the applets use the DOM and BOM interfaces provided by the browser differently, but the applets can call the built-in API interfaces in WeChat, such as: WeChat login, WeChat payment, geographic location information, etc.
3. Different development models
Web page development is mainly developed in the form of a browser plus a code editor. The main process of small program development includes
(1) Go to the WeChat public platform to apply for a Mini Program account
(2) Use dedicated WeChat applet development tools
(3) Create and configure applet projects