Method and device for converting H5 project into Vue framework and computer equipment

A project conversion and framework technology, applied in the computer field, to achieve the effect of clear project structure, convenient use, and cost reduction

Active Publication Date: 2020-04-07
爱云保(上海)科技有限公司
View PDF4 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The main purpose of this application is to provide a method for converting an H5 project into a Vue framework, aiming to solve the technical problem that there is no tool to automatically convert a traditional framework project into a Vue framework project

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for converting H5 project into Vue framework and computer equipment
  • Method and device for converting H5 project into Vue framework and computer equipment
  • Method and device for converting H5 project into Vue framework and computer equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0050] refer to figure 1 , a method for converting an H5 project into a Vue framework according to an embodiment of the present application, including:

[0051] S1: Analyze the page information of the specified page, wherein the specified page belongs to all pages included in the H5 project, and the page information includes information tags covered in the page;

[0052] S2: Slicing and storing the specified page according to each of the information tags;

[0053] S3: Combine slices with the same information label according to a preset combination method to obtain preset...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method and device for converting an H5 project into a Vue framework and computer equipment. The method for converting the H5 project into the Vue framework comprises the steps: analyzing page information of a specified page, wherein the specified page belongs to all pages contained in the H5 project, and the page information comprises information labels contained in the page; slicing and storing the specified page according to each information label; combining the slices with the same information label according to a preset combination mode to obtain a preset sub-assembly; compositing the preset sub-assemblies to obtain a composite Vue assembly corresponding to the specified page; and storing the composite Vue components corresponding to all the pages in the H5 project in a Vue scaffold generated by pre-initialization according to a preset mapping relationship to form a Vue framework corresponding to the H5 project. The method rapidly converts a traditional front-end H5 project into a Vue project, and can reduce the time and labor cost consumed by conversion operation.

Description

technical field [0001] This application relates to the computer field, in particular to a method, device and computer equipment for converting an H5 project into a Vue framework. Background technique [0002] Compared with the traditional front-end H5 project, the use of the Vue framework can greatly reduce the traditional front-end in the code, direct DOM operations, data and view two-way binding, only need to change the data, the view automatically changes, which greatly reduces Reduced code size and improved page performance. At present, there is no tool on the market to automatically convert traditional architecture projects into Vue framework projects. The manual conversion process is complex, time-consuming and costly to test, which is not conducive to the widespread promotion of Vue framework. Contents of the invention [0003] The main purpose of this application is to provide a method for converting an H5 project into a Vue framework, aiming to solve the technica...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/38G06F8/71
CPCG06F8/38G06F8/71
Inventor 黄康
Owner 爱云保(上海)科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products