Small program mixed programming development method and device, storage medium and computer equipment

By monitoring and replacing files in the target project, the paths of native applets and new code are unified, which solves the problem of inconsistent paths when migrating native applets to the Taro framework, reduces development and maintenance costs, and improves development efficiency.

CN118656121APending Publication Date: 2024-09-17创优数字科技(广东)有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411004995.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-25
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

When migrating native applets to the Taro framework, due to inconsistent paths, development and maintenance costs are high and application development efficiency is affected.

Method used

By monitoring the project files in the target project, determine the modified files, replace and compile them in the target folder, unify the paths of native project files and new code, and avoid global path modifications.

Benefits of technology

It reduces development and maintenance costs, improves application development efficiency, reduces the workload of path modification, and maintains shared links.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118656121A
    Figure CN118656121A
Patent Text Reader

Abstract

The invention provides an applet shuffling development method and device, a storage medium and computer equipment, and the method comprises the steps: monitoring a project file in a target project, and determining the modified project file in the target project as a target file when the project file in the target project is monitored to be modified; by monitoring the target project, the modified project file can be determined. Then, obtaining project information of a target project to determine a target folder; and replacing the files matched with the target files in the target folder. Due to the fact that in the mixed development process, the path can be changed after the new code which is being developed is packaged, and the path of the original project file and the path of the project file which is being developed and matched with the migration target can be unified through the target folder, a developer does not need to globally modify the path and continuously maintain a shared path link, and the development efficiency is improved. Therefore, the development and maintenance cost is reduced, and the application development efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of software development technology, and in particular to a method, device, storage medium and computer equipment for mixed development of small programs. Background Art

[0002] In the field of front-end development, the Taro framework is a multi-terminal unified development framework that allows developers to use one set of code to adapt to multiple terminals, including WeChat applets, H5, React Native, etc. In recent years, with the growing demand for multi-platform compatibility and code reusability in the front-end development field, for companies that are already using native applets, gradually migrating existing codes to the Taro framework can not only improve development efficiency, but also achieve multi-terminal adaptation.

[0003] In the process of migrating native mini-programs to the Taro framework, the mixed editing mode provided by the Taro framework allows developers to develop pages in Taro and then package them into native mini-programs. However, in this process, the paths in the native mini-programs are inconsistent with the paths packaged in Taro, resulting in high development and maintenance costs, which in turn affects the efficiency of application development. Summary of the invention

[0004] The purpose of this application is to solve at least one of the above-mentioned technical defects, especially the technical defect in the prior art that the path in the native applet is inconsistent with the path after Taro packaging, resulting in high development and maintenance costs, thereby affecting the efficiency of application development.

[0005] In a first aspect, the present application provides a method for mixed development of mini-programs, the method comprising:

[0006] Monitoring a project file in a target project, wherein the target project is used to develop a project file that matches a preset migration target;

[0007] When it is monitored that a project file in the target project is modified, the modified project file in the target project is determined as the target file;

[0008] Acquire project information of the target project to determine a target folder; wherein the target folder is used to store native project files when it is created, and the native project files are project files to be migrated;

[0009] Replace the files in the target folder that match each target file;

[0010] Compile the project where the target folder is located.

[0011] In one embodiment, the process of creating the target folder includes:

[0012] Get the native project file;

[0013] An initial folder is created, and the native project file is copied to the initial folder to form a target folder.

[0014] In one embodiment, the method further comprises:

[0015] Determine the native folder to which the native project file belongs;

[0016] Monitoring the native folder;

[0017] When it is monitored that the native project file in the native folder is modified, the modified file in the native folder is determined as the target native file;

[0018] The files matching the target native files in the target folder are replaced with the target native files, and the project in the target folder is compiled.

[0019] In one embodiment, the step of monitoring the project files in the target project includes:

[0020] Obtain the path information of the project file in the target project;

[0021] The path information is monitored and registered to monitor changes of the project files in the target project.

[0022] In one embodiment, the step of replacing files in the target folder that match each target file includes:

[0023] Get the page path of each target file;

[0024] Determine in the target folder the files to be replaced that are consistent with the page paths of the respective target files;

[0025] Delete each file to be replaced in the target folder, and copy each target file to the target folder.

[0026] In one of the embodiments, the target folder is located in the root directory of the target project.

[0027] In a second aspect, the present application provides a mini-program mixed development device, the device comprising:

[0028] A file monitoring module, used to monitor project files in a target project; wherein the target project is used to develop project files that match a preset migration target;

[0029] A file determination module, configured to determine the modified project file in the target project as a target file when it is detected that the project file in the target project has been modified;

[0030] A folder determination module, used to obtain project information of the target project to determine a target folder; wherein the target folder is used to store native project files when it is created, and the native project files are project files to be migrated;

[0031] A file replacement module, used to replace files matching each target file in the target folder;

[0032] The project compilation module is used to compile the project where the target folder is located.

[0033] In one embodiment, the device further comprises:

[0034] File acquisition module, used to obtain native project files;

[0035] The folder creation module is used to create an initial folder and copy the native project file to the initial folder to form a target folder.

[0036] In a third aspect, the present application provides a storage medium storing computer-readable instructions. When the computer-readable instructions are executed by one or more processors, the one or more processors execute the steps of the mini-program mixed development method as described in any of the above embodiments.

[0037] In a fourth aspect, the present application provides a computer device, comprising: one or more processors, and a memory;

[0038] The memory stores computer-readable instructions, and when the one or more processors execute the computer-readable instructions, the steps of the mini-program mixed development method described in any of the above embodiments are performed.

[0039] It can be seen from the above technical solutions that the embodiments of the present application have the following advantages:

[0040] The present application provides a method, device, storage medium and computer equipment for mixed development of mini-programs, the method comprising: in the process of mixed development of mini-programs, the project files in the target project can be monitored, and when it is monitored that the project files in the target project are modified, the modified project files in the target project are determined as target files; by monitoring the target project, the modified project files can be determined. Next, the project information of the target project is obtained to determine the target folder; and then the files matching each target file in the target folder are replaced. Since in the process of mixed development, the path of the new code being developed will change after packaging, making the path of the new code inconsistent with the corresponding old code, and the path of the native project file and the project file being developed that matches the migration target can be unified through the target folder, so there is no need for developers to modify the path globally and continue to maintain the shared path link, thereby reducing development and maintenance costs to improve the efficiency of application development. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0042] Figure 1 A flowchart of a mini-program mixed development method provided in an embodiment of the present application;

[0043] Figure 2 A schematic diagram of a process for creating a target folder provided in an embodiment of the present application;

[0044] Figure 3 A flowchart of the steps of replacing files matching each target file in a target folder provided by an embodiment of the present application;

[0045] Figure 4 A schematic diagram of the project structure changes during the mixed development of mini-programs provided in an embodiment of the present application;

[0046] Figure 5 A schematic diagram of the structure of a mini-program mixed development device provided in an embodiment of the present application;

[0047] Figure 6 An internal structure diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0048] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0049] In one embodiment, the present application provides a method for mixed development of small programs, and the following embodiment is described by applying the method to a server. It can be understood that the method for mixed development of small programs can be executed by a single server or a server cluster composed of multiple servers, and the present application does not make specific restrictions on this.

[0050] like Figure 1 As shown, the present application provides a mini-program mixed development method, the method comprising:

[0051] Step S101: monitoring the project files in the target project.

[0052] The target project is used to develop project files that match the preset migration target. Project files refer to files corresponding to the front-end pages of the target project. The migration target refers to the target framework to be migrated. In one example, the migration target can be the Taro framework. At this time, developers can develop Taro pages in the target project.

[0053] It is understandable that when developers need to migrate the framework of a native mini-program that has been developed, if the efficiency of page replacement during migration is too low, it will easily affect the user experience. Therefore, you can first determine the target project corresponding to the migration target, and then monitor the project files in the target project to replace the newly developed pages in time, and then gradually migrate the framework pages of the mini-program while minimizing the impact on user use.

[0054] Furthermore, a file listener can be used to monitor the project files in the target project. In one example, a chokidar file listener is used to monitor the changes of the file.

[0055] Step S102: when it is monitored that a project file in the target project is modified, the project file in the target project with the modification is determined as the target file.

[0056] The target file is a project file that has been modified in the target project at the current moment.

[0057] In this step, after monitoring the project files in the target project, when it is monitored that the project files in the target project are modified, there may be two situations: one is that the developer has updated the existing project files, and the other is that the developer has created a new project file in the target project and developed a page based on the newly created project file. In this case, the modified project files are identified in the target project, and then the identified project files are determined as target files.

[0058] Step S103: Acquire the project information of the target project to determine the target folder.

[0059] The target folder is used to store native project files when it is created. The native project files are project files to be migrated. The target folder refers to a folder used to unify the paths of the native project files and the project files under development that match the migration target. The project information includes the path information of the target folder of the corresponding project.

[0060] In this step, the target folder is determined according to the path information of the target folder by obtaining the project information of the target project and then extracting the path information of the target folder from the project information. It is understandable that when the target folder is created, it only contains the project files corresponding to the native applet. As the framework migration proceeds, the target folder will include the project files corresponding to the native applet and the project files developed by the developer using the new framework.

[0061] Step S104: Replace the files in the target folder that match the target files.

[0062] In this step, each target file is matched with the file in the target folder. When the match is successful, the matched file is replaced with the corresponding target file. It should be noted that when developing a new page, the file name of the new page needs to be consistent with the name of the corresponding file in the native applet.

[0063] Step S105: compile the project where the target folder is located.

[0064] Compilation is the process of converting source code into executable files.

[0065] In this step, after the project file is modified, it needs to be compiled to make the modified code effective. Therefore, after each file modification is detected, the modified file is replaced in the target folder, and then the project in the target folder is compiled.

[0066] It is understandable that the target folder can unify the paths of the native project files and the project files being developed that match the migration target, and there is no need to modify the global path after each new page is developed, which reduces development efficiency and also affects the user experience of using the mini program during framework migration. Therefore, the solution of this application can reduce development and maintenance costs to improve the efficiency of progressive framework migration.

[0067] In one example, suppose the path of page A of the native applet is pages / index / index, and the path of page B obtained by the developer using the Taro framework for reconstruction is taro / pages / index / index. In this case, the path needs to be modified globally and the shared links need to be updated. This application stores the project files of the native applet in the target folder. Therefore, when the path of page A is pages / index / index, the files of the reconstructed page will be copied to the target folder. Therefore, the path of page B is also pages / index / index. This can reduce the workload of global path modification, and at the same time avoid the invalidation of the links shared before migration, thereby reducing maintenance costs.

[0068] The present application provides a method, device, storage medium and computer equipment for mixed development of mini-programs, the method comprising: in the process of mixed development of mini-programs, the project files in the target project can be monitored, and when it is monitored that the project files in the target project are modified, the modified project files in the target project are determined as target files; by monitoring the target project, the modified project files can be determined. Next, the project information of the target project is obtained to determine the target folder; and then the files matching each target file in the target folder are replaced. Since in the process of mixed development, the path of the new code being developed will change after packaging, making the path of the new code inconsistent with the corresponding old code, and the path of the native project file and the project file being developed that matches the migration target can be unified through the target folder, so there is no need for developers to modify the path globally and continue to maintain the shared path link, thereby reducing development and maintenance costs to improve the efficiency of application development.

[0069] like Figure 2 As shown, in one embodiment, the process of creating a target folder includes:

[0070] Step S201: Obtain the native project file.

[0071] The native project file refers to the project file of the native applet to be migrated.

[0072] Step S202: Create an initial folder and copy the native project file to the initial folder to form a target folder.

[0073] In this step, an initial folder is first created, and then the native project file obtained in step S201 is copied to the initial folder, and the initial folder containing the native project file is determined as the target folder.

[0074] It can be understood that by creating an initial folder and copying the native project files to the initial folder, a folder is provided in which project files of different frameworks coexist, thereby unifying the paths of the native project files and the project files being developed that match the migration target, reducing development and maintenance costs and improving development efficiency.

[0075] In one embodiment, the mini-program mixed development method further includes:

[0076] Determine the native folder to which the native project files belong;

[0077] Monitor the native folder;

[0078] When it is detected that a native project file in a native folder is modified, the modified file in the native folder is determined as a target native file;

[0079] Use each target native file to replace the files matching each target native file in the target folder, and compile the project in the target folder.

[0080] Among them, the native folder refers to the project folder of the native applet before framework migration.

[0081] In this embodiment, since the developer may need to modify the native code during the framework migration process, the native folder also needs to be monitored, and when the native project files in the native folder are modified, the modified native project files are copied to the target folder to replace the files in the target folder that match the target native files. This allows the developer's modification of the native code to be synchronized to the target folder immediately, thereby improving the development efficiency of the mini-program in the mixed state.

[0082] In one embodiment, the step of monitoring the project files in the target project includes:

[0083] Get the path information of the project file in the target project;

[0084] Register the path information to monitor changes in project files in the target project.

[0085] The path information is used to determine the project file in the target project.

[0086] In this embodiment, when the path information of the project file of the target project is obtained, the path information is monitored and registered, so that the file listener can read the registered information and then monitor the project file in the target project.

[0087] It is understandable that by monitoring the target projects of developers developing new pages, the modified files can be synchronized to the target folder in a timely manner, so as not to affect the user experience of using the mini program during this period. On the one hand, it can improve the efficiency of page migration development, and on the other hand, it can also maintain the user experience.

[0088] like Figure 3 As shown, in one embodiment, the step of replacing files in the target folder that match each target file includes:

[0089] Step S301: Obtain the page path of each target file.

[0090] The first path field of the page path is the folder corresponding to the page in the target project. For example, assuming that there is a pages folder in the target project for storing pages, the pages folder is the first path field. When the pages folder includes the order page, the page path of the file (order.jsx) in order is pages / order / order.jsx.

[0091] Step S302: Determine in the target folder the files to be replaced that are consistent with the page paths of the respective target files.

[0092] In this step, since the page path does not involve the path corresponding to the top-level project, the file to be replaced can be determined in the target folder by comparing whether the page paths are consistent.

[0093] Step S303: Delete each to-be-replaced file in the target folder, and copy each target file to the target folder.

[0094] It is understandable that the files to be replaced are determined by comparing the page paths, and then the files in the target folder are replaced to complete the reconstruction of some pages. Since this mixing method does not cause the problem of different paths, there is no need to modify the global path, thereby reducing maintenance costs. In addition, this method can gradually replace the pages of the native applet, which helps to achieve a smooth transition.

[0095] In one embodiment, the target folder is located in the root directory of the target project.

[0096] In this embodiment, the target folder can be set under the root directory of the target project to facilitate file management, and the developer can complete the framework migration process of the mini program in the target project, while also being able to further improve development efficiency.

[0097] In one example, if Figure 4 As shown, Figure 4 A schematic diagram of the changes in project structure during the mixed development of mini-programs provided in an embodiment of the present application.

[0098] exist Figure 4 In the figure, the dist folder is the target folder. The left side shows the project structure diagram of the initial state of the target folder, that is, the target folder only contains the page files of the native applet at this time. The right side shows the project structure diagram after the order page is reconstructed using the taro framework and these files are replaced in the target folder. The app.wxss and app.json in the project structure on the right can be copied to the target folder at the first migration.

[0099] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0100] The following is a description of the mini-program mixed development device provided in an embodiment of the present application. The mini-program mixed development device described below and the mini-program mixed development method described above can be referenced to each other.

[0101] like Figure 5 As shown, the present application provides a mini-program mixed development device 400, the device comprising:

[0102] The file monitoring module 401 is used to monitor the project files in the target project; wherein the target project is used to develop project files that match the preset migration target;

[0103] The file determination module 402 is used to determine the modified project file in the target project as the target file when it is monitored that the project file in the target project is modified;

[0104] The folder determination module 403 is used to obtain the project information of the target project to determine the target folder; wherein the target folder is used to store native project files when it is created, and the native project files are the project files to be migrated;

[0105] A file replacement module 404 is used to replace files matching each target file in the target folder;

[0106] The project compiling module 405 is used to compile the project in the target folder.

[0107] In one embodiment, the mini-program mixed development device further includes:

[0108] File acquisition module, used to obtain native project files;

[0109] The folder creation module is used to create an initial folder and copy the native project file to the initial folder to form a target folder.

[0110] In one embodiment, the mini-program mixed development device further includes:

[0111] A determination module is used to determine the native folder to which the native project file belongs;

[0112] Monitoring module, used to monitor native folders;

[0113] A native file determination module, for determining the modified file in the native folder as a target native file when a modification of the native project file in the native folder is detected;

[0114] The compilation module is used to replace the files matching the target native files in the target folder with the target native files, and compile the project in the target folder.

[0115] In one embodiment, the file monitoring module includes:

[0116] The information acquisition submodule is used to obtain the path information of the project file in the target project;

[0117] The monitoring registration submodule is used to monitor and register the path information so as to monitor the changes of the project files in the target project.

[0118] In one embodiment, the file replacement module includes:

[0119] The path acquisition submodule is used to obtain the page path of each target file;

[0120] A file determination submodule is used to determine the files to be replaced that are consistent with the page paths of each target file in the target folder;

[0121] The file copying submodule is used to delete each file to be replaced in the target folder and copy each target file to the target folder.

[0122] The division of each module in the above-mentioned mini-program mixed development device is only for illustration. In other embodiments, the mini-program mixed development device can be divided into different modules as needed to complete all or part of the functions of the above-mentioned mini-program mixed development device. Each module in the above-mentioned mini-program mixed development device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0123] In one embodiment, the present application also provides a storage medium storing computer-readable instructions. When the computer-readable instructions are executed by one or more processors, the one or more processors execute the steps of the mini-program mixed development method as described in any of the above embodiments.

[0124] In one embodiment, the present application also provides a computer device having computer-readable instructions stored therein. When the computer-readable instructions are executed by one or more processors, the one or more processors execute the steps of the mini-program mixed development method as described in any of the above embodiments.

[0125] Indicatively, if Figure 6 As shown, Figure 6 This is a schematic diagram of the internal structure of a computer device provided in an embodiment of the present application. The computer device 500 may be provided as a server. Figure 6 , the computer device 500 includes a processing component 502, which further includes one or more processors, and a memory resource represented by a memory 501, for storing instructions executable by the processing component 502, such as an application. The application stored in the memory 501 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 502 is configured to execute instructions to perform the mini-program mixed development method of any of the above embodiments.

[0126] The computer device 500 may further include a power supply component 503 configured to perform power management of the computer device 500, a wired or wireless network interface 504 configured to connect the computer device 500 to a network, and an input / output (I / O) interface 505. The computer device 500 may operate based on an operating system stored in the memory 501, such as Windows Server TM, Mac OS X TM, Unix TM, Linux TM, Free BSD TM, or the like.

[0127] Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0128] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish an entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or order between these entities or operations. Moreover, the term "include", "comprise" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or equipment including a series of elements not only include those elements, but also include other elements that are not clearly listed, or also include elements inherent to such process, method, article or equipment. In the absence of more restrictions, the elements limited by the sentence "comprise one..." do not exclude the existence of other identical elements in the process, method, article or equipment including the elements. Herein, the singular "one", "one" and "described / the" may also include plural forms, unless the context clearly indicates another way. It should also be understood that the terms "include / comprise" or "have" etc. specify the existence of stated features, wholes, steps, operations, components, parts or combinations thereof, but do not exclude the possibility of the existence or addition of one or more other features, wholes, steps, operations, components, parts or combinations thereof. At the same time, the term "and / or" used in this specification includes any and all combinations of the relevant listed items.

[0129] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The various embodiments can be combined as needed, and the same or similar parts can refer to each other.

[0130] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A mini-program mixed development method, characterized in that: The method comprises: Monitoring a project file in a target project, wherein the target project is used to develop a project file that matches a preset migration target; When it is monitored that a project file in the target project is modified, the modified project file in the target project is determined as the target file; Acquire project information of the target project to determine a target folder; wherein the target folder is used to store native project files when it is created, and the native project files are project files to be migrated; Replace the files in the target folder that match each target file; Compile the project where the target folder is located.

2. The mini-program mixed development method according to claim 1, characterized in that: The process of creating the target folder includes: Get the native project file; An initial folder is created, and the native project file is copied to the initial folder to form a target folder.

3. The mini-program mixed development method according to claim 1, characterized in that: The method further comprises: Determine the native folder to which the native project file belongs; Monitoring the native folder; When it is monitored that the native project file in the native folder is modified, the modified file in the native folder is determined as the target native file; The files matching the target native files in the target folder are replaced with the target native files, and the project in the target folder is compiled.

4. The mini-program mixed development method according to claim 1, characterized in that: The step of monitoring the project files in the target project includes: Obtain the path information of the project file in the target project; The path information is monitored and registered to monitor changes of the project files in the target project.

5. The mini-program mixed development method according to claim 1, characterized in that: The step of replacing the files in the target folder that match the respective target files comprises: Get the page path of each target file; Determine in the target folder the files to be replaced that are consistent with the page paths of the respective target files; Delete each file to be replaced in the target folder, and copy each target file to the target folder.

6. The mini-program mixed development method according to any one of claims 1 to 5, characterized in that: The target folder is located in the root directory of the target project.

7. A mini-program mixed development device, characterized in that: The device comprises: A file monitoring module, used to monitor project files in a target project; wherein the target project is used to develop project files that match a preset migration target; A file determination module, configured to determine the modified project file in the target project as a target file when it is detected that the project file in the target project has been modified; A folder determination module, used to obtain project information of the target project to determine a target folder; wherein the target folder is used to store native project files when it is created, and the native project files are project files to be migrated; A file replacement module, used to replace files matching each target file in the target folder; The project compilation module is used to compile the project where the target folder is located.

8. The mini-program mixed development device according to claim 7, characterized in that: The device also includes: File acquisition module, used to obtain native project files; The folder creation module is used to create an initial folder and copy the native project file to the initial folder to form a target folder.

9. A storage medium, characterized in that: The storage medium stores computer-readable instructions, and when the computer-readable instructions are executed by one or more processors, the one or more processors execute the steps of the mini-program mixed development method as described in any one of claims 1 to 6.

10. A computer device, characterized in that: include: one or more processors, and memory; The memory stores computer-readable instructions, and when the computer-readable instructions are executed by the one or more processors, the steps of the mini-program mixed development method as described in any one of claims 1 to 6 are performed.