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
Example of front and back communication between Alice and Spring Boot
Case summary
This article provides a project instance that uses aliice front-end framework (encapsulating React) to communicate with Spring Boot project. For specific project environment, please refer to: Alibaba ICE front end project creation process . This example does not introduce the creation ...
Added by Louis11 on Wed, 04 Mar 2020 08:24:55 +0200
In depth analysis of routing -- front end beginners can also develop vue e e-commerce projects
What is the route? Why use routing? What is the function of routing? Can I write the source code of route jump?
After finishing the routing part, the four company strike made me think deeply. Let's learn vue router's wings~
This is an e-commerce project demo based on vue & Axios & mock & t ...
Added by jeny on Sat, 29 Feb 2020 07:10:48 +0200