Real time update react project from 0

This article is more detailed. It's about the beginning of react project, from the foundation to the actual project. I hope the industry leaders don't laugh at it. How about myself! If there are any mistakes in my study, I can point them out. I can learn from them and correct them. I hope to make progre ...

Added by ttaceman on Sun, 28 Jun 2020 08:03:15 +0300

Take you 10 days to be proficient in the vue framework and realize data request through axios

4. Data request through axios vue.js ajax is not available by default. So when using vue, we usually use axios plug-in to realize the data interaction between ajax and back-end server. Note that axios are essentially ajax encapsulation of javascript, so they are limited by the same origin policy. plug ...

Added by akelavlk on Thu, 18 Jun 2020 10:59:19 +0300

Epidemic map data display platform

Epidemic data map display The realization of Chinese map First look at the renderings. The whole project is completed under the vue framework. After the routing configuration is completed, you can start the map display part. Here I will only show the domestic epidemic part, which I have completed in ...

Added by paulspoon on Sun, 14 Jun 2020 12:26:34 +0300

computed -- real time calculation attribute

Project: https://github.com/ccyinghua/vue-node-mongodb-project/blob/master/07-shoppingCart.md The calculated function of real-time calculation attributes, real-time calculation attributes, is just the function writing method, and there is no need to declare in data. Some business logic codes can be placed in computed. Remember to return. exampl ...

Added by Blob on Sun, 03 May 2020 01:11:13 +0300

Vue.js - MVVM belief

Vue.js - MVVM belief Learning video address of station B: https://www.bilibili.com/video/BV1e7411M7GQ   All based on ES6 (let, const, arrow function, promise, axios) MVVM model (React nactive is widely used in APP) Traditional js top and bottom gives you thinking, breaking the manual operation of DOM     1. Import vue.js <script src="vue. ...

Added by xhitandrun on Mon, 27 Apr 2020 18:19:21 +0300

Vue asynchronous request

vue initially uses vue resource to implement asynchronous request (ajax), and vue 2.0 began to recommend using axios instead of vue resource.   Preparation 1. Download axios using npm npm install axios   2. Introducing axios.js <script src="js/axios.js"></script> Change to min.js when online         The front-end vue uses axios ...

Added by RiBlanced on Fri, 10 Apr 2020 17:44:55 +0300

Are you hungry? Learning (1) basic introduction

Hungry? Study (1) Project preparation Project construction Install vue scaffold npm install -g vue-cli Project initialization Vue init webpack < project name > Others omitted: webpack configuration needs to be recorded separately for learning stylus Learn to use stylus in this project Install stylus and in ...

Added by homerjsimpson on Mon, 30 Mar 2020 22:14:09 +0300

vue interceptor implements unified token and is compatible with IE9 verification

In the project, vue is used to build the front-end page, and axios requests the back-end api interface to complete the data interaction. If the password token is written in each interface, it is not only a small physical work, but also inflexible. Here we share the use of vue's own interceptor to add token to the header of each request, and it ...

Added by Seamless on Mon, 30 Mar 2020 18:25:36 +0300

Advanced functions of JavaScript

Introduction: welcome to woo's front end. What we bring you today is advanced knowledge of JavaScript. The next series focuses on advanced JavaScript. First, we talk about advanced functions. Definition of high-order function: high-order function refers to the function of operation function; generally, there are two situations in the process o ...

Added by kweathe on Sat, 21 Mar 2020 09:55:53 +0200

Summary of vue project optimization

1. The log console used in the development is set as the development output and not output when running Installation: Babel plugin transform remove console development dependency //Add to babel.config.js file //This is the babel plug-in to be used in the project release phase const prodplugins = [] //Determine whether it is an operating ...

Added by Blade280891 on Sat, 07 Mar 2020 09:54:10 +0200