Front-end static resource managing method and device, computer equipment and storage medium
A technology of static resources and management methods, applied in the field of information processing, can solve problems such as dare not to clear easily, poor system performance, code conflicts, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0028] figure 1 The flow chart of the method for managing front-end static resources provided by Embodiment 1 of the present invention, as shown in figure 1 As shown, this embodiment includes the following steps.
[0029] Step S102: Obtain the storage path of the static resource to be injected according to the name identifier of the static resource to be injected, and obtain the first storage path.
[0030] Specifically, the static resources to be injected include external plug-in resources and the project's own resources. During the project development process, when the developer who introduces the static resources needs to introduce a certain static resource into the project, the static resources are the static resources to be injected. For external plug-in resources, after the external plug-in resources are obtained, they are usually stored in a certain folder of the project, and for the project's own resources, they are also stored in a certain folder of the project.
[00...
Embodiment 2
[0050] figure 2 A block diagram of a management device for front-end static resources provided by Embodiment 2 of the present invention, as shown in figure 2 As shown, the device for managing front-end static resources includes a determination module 201 , an acquisition module 202 , a reading module 203 , a processing module 204 , a search module 205 , a first injection module 206 and a second injection module 207 .
[0051] Wherein, the determination module 201 is used to determine the name identifier of the static resource to be injected. Optionally, when the project developer needs to inject a certain static resource into the project, the determination module 201 receives the name identifier of the static resource as the name identifier of the static resource to be injected. Name identification; the acquisition module 202 is used to obtain the storage path of the static resource to be injected according to the name identification of the static resource to be injected, as...
Embodiment 3
[0060] This embodiment also provides a computer device, such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a rack server, a blade server, a tower server, or a cabinet server (including an independent server, or A server cluster composed of multiple servers), etc. like image 3 As shown, the computer device 20 of this embodiment at least includes but is not limited to: a memory 21 and a processor 22 that can communicate with each other through a system bus, such as image 3 shown. It should be pointed out that, image 3 Only computer device 20 is shown having components 21-22, but it should be understood that implementing all of the illustrated components is not a requirement and that more or fewer components may instead be implemented.
[0061] In this embodiment, the memory 21 (that is, a readable storage medium) includes a flash memory, a hard disk, a multimedia card, a card-type memory (for example, SD or DX memory, etc.), a random access ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


