WeChat applet to delete the project implementation steps, Applet Project

Source: Internet
Author: User

The implementation steps for deleting a project by using a Applet

How does a applet delete a project?

The small program is very popular now. Maybe the front-end engineer has a spring approaching. Recently I learned this part of knowledge and also made some small demos. Here I will talk about how to delete the project of the small program.

The project created locally by the applet does not have the deletion function. I tried to find a cleanup method and only passed the Mac osx test. windows can solve the problem by itself based on the principle. The principle is estimated to be the same:

You can delete the Default value in the data folder. All values are cleared. After deletion, you must scan the QR code to log on again.

Mac osx directory:

$ HOME/Library/Application Support/web Developer tool/Default

Remember to confirm the execution result to avoid unnecessary losses. The following command backs up the current directory as a weapp-backup.tgz and then deletes the directory. If a file appears, it can be restored through backup:

DES = "$ HOME/Library/Application Support/web Developer Tools/Default" & tar cvzf weapp-backup.tgz "$ DES" & rm-rf "$ DES"

After execution:

Supplement:

Deleting the current project does not delete the actual code file. For example:

Thank you for reading this article. I hope it will help you. Thank you for your support for this site!

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.