A method and a device for building a rapid development environment based on webpack

A development environment and fast technology, applied in the field of web platform development, can solve the problems of interdependence between front-end and back-end construction, reduce the occupied space and volume, and achieve the effect of decoupling

Active Publication Date: 2019-01-04
HAINAN NEWSOFT CO LTD
View PDF2 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] This application provides a method and device for building a rapid development environment ...

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
  • A method and a device for building a rapid development environment based on webpack
  • A method and a device for building a rapid development environment based on webpack
  • A method and a device for building a rapid development environment based on webpack

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0076] In order to make the purpose, technical solutions and advantages of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the specific embodiments of the present application and the corresponding drawings. Apparently, the described embodiments are only some of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application. The technical solutions provided by various embodiments of the present application will be described in detail below in conjunction with the accompanying drawings.

[0077] see figure 1 , which is a flow chart of a method for building a webpack-based rapid development environment provided by the embodiment of the present application, the method i...

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 a device for building a webpack-based rapid development environment, wherein, the method comprises the following steps of: installing and configuring webpack toolsand related parameters; obtaining a current static resource file, wherein the static resource file comprises at least a js file, a css file and a picture; compiling and packaging the static resourcefile as a js module; setting up local servers; dynamically loading the js module based on the local server. The present application can be based on a webpack, and performs reasonable combination and compression of a large number of static resource files, so as to improve the efficiency of platform development and construction, and on the basis of establishing a local server, the use of webpack dynamic loads the js module, so as to achieve the decoupling of the front-end and back-end, play an independent role.

Description

technical field [0001] This application relates to the field of web platform development, in particular to a method and device for building a rapid development environment based on webpack. Background technique [0002] Enterprise web development is gradually shifting to a multi-person and multi-business module model. Usually, when developing web, it is necessary to first build an nginx (engine x, HTTP and reverse proxy server) environment locally. The nginx environment has strong stability and rich feature sets , Low resource consumption, so for new sites, it can support multiple concurrent links at the same time, which is very suitable for the current web usage mode. The front-end generates web display and operation pages through the built nginx environment, but the front-end still needs to transfer the user's instruction operation to the interface of the server (back-end) through the proxy server (proxy server), so as to obtain the back-end data for the front-end support...

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
IPC IPC(8): G06F8/20G06F8/33H04L29/08
CPCH04L67/02H04L67/06H04L67/34G06F8/20G06F8/33Y02D10/00
Inventor 郑洪举黄何
Owner HAINAN NEWSOFT CO LTD
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