Configuration and use of webpack dev server

Continue with the previous one https://www.cnblogs.com/chenyingying0/p/12797474.html   Install webpack dev server cnpm i sebpack-dev-server   Modify package.json     Because the syntax of configuring environment variables on different platforms (such as windows and mac) is different, in order to write in a way compatible with multiple platform ...

Posted by hadeosdin on Wed, 29 Apr 2020 07:06:48 -0700

Replacing JSON with MsgPack protocol in Phoenix WebSocket

Why MsgPack? MsgPack is lighter and less traffic than JSON MsgPack's own date time type (always UTC) MsgPack comes with binary data type (it's convenient to transfer a picture or something) MsgPack supports custom types The standards of MsgPack are open source and well documented Phoenix.Socket.Serializer module In the Phoenix framework, ther ...

Posted by shmoo525 on Mon, 27 Apr 2020 04:11:12 -0700

Using Baidu rich text editor in vue.js componentization

be careful: The editor used in this paper is: idea 1. Download Baidu rich text editor at https://ueditor.baidu.com/website/download.html 2. Add it to the static folder, as shown in the figure: 3. Introduce JS into main.js. Note: be sure to modify the path in ueeditor.config.js window.UEDITOR_HOME_URL = "./static/ueditor/"   4.To ...

Posted by JasonO on Tue, 21 Apr 2020 07:06:25 -0700

The installation and configuration of elastic search and the integrated application of spring boot

##Install elasticsearch on linux 1. Download elasticsearch Go directly to the official website of elasticsearch and download the latest installation package: https://www.elastic.co/downloads/elasticsearch, this tutorial uses version 5.1.1. 2, Install elasticsearch Upload the downloaded installation package to centos, or download it directly f ...

Posted by kkeim on Mon, 20 Apr 2020 05:56:06 -0700

Vue-based server-side rendering framework Nuxt.js case description

background To develop a new official website (education company), the website needs to consider drainage, promotion, keyword search ranking, so the website needs to do SEO.Vue.js is a framework for building client applications that, by default, can output Vue components in a browser for DOM generation and operationsDOM, like this client-side re ...

Posted by sledgeweb on Sun, 19 Apr 2020 00:51:45 -0700

Quick learning - simple voting DApp

Simple voting DApp Next, we will start to make a DApp. Although it is a very simple voting application, it will contain a complete workflow and interaction page. The main steps to build this application are as follows: We first install an analog blockchain called ganache, which can let our program run in the development environment. Writ ...

Posted by bubbadawg on Fri, 17 Apr 2020 03:00:05 -0700

Using codemirror in vue (element) to realize code highlighting, code completion and version difference comparison

vue language is used, and component of element is used. To make an online editing code, code content is required to be input, highlighted display can be carried out, different languages can be switched, keyword completion is supported, and a code left-right comparison between different versions is required. As for why codemirror is selected, pl ...

Posted by deltatango5 on Fri, 17 Apr 2020 01:50:42 -0700

Life cycle function in React

Life cycle function refers to the function that the component will automatically execute at a certain time constructor can be regarded as a common life cycle function of a class, but it is not a unique life cycle function of react render() is a function that automatically executes when the data changes, so it belongs to the life cycle function ...

Posted by wmvdwerf on Tue, 14 Apr 2020 10:16:16 -0700

One of webpack learning, basic use and management of resources

Learning is in the Chinese web pack, just this record for later review; (https://doc.webpack-china.org/guides/getting-started/#-) Write before: I think there are four basic modules of webpack that I should know before learning: 1. Entrance 2. Export 3.loader 4. Plug-ins I. Basic Use Follow the steps ...

Posted by dineshsjce on Sat, 11 Apr 2020 09:37:56 -0700

Migrate Express to function calculation

First of all, it introduces some important concepts in this paper: Function calculation: function calculation is an event driven service. Through function calculation, users do not need to manage the operation of the server, just write code and upload. Function computing prepares computing resources and runs user code in an elastic and scalab ...

Posted by mariom on Tue, 07 Apr 2020 23:06:38 -0700