vue element admin learning notes - take you to use vue to roll up the background series I (basic chapter)
Article directory
directory structure
api and views
Package axios
axios basic case
axios.create example
axios request interceptor
axios response interceptor
Source code analysis of request Library
router-view
Reference link
directory structure
api and views
It is suggested that views should ...
Added by guitarlvr on Tue, 18 Feb 2020 15:19:57 +0200
Basic knowledge of Vue + small cases
vue Foundation
First vue program
Import the development version of vue.js < script SRC = "https://cdn.jsdelivr.net/npm/vue/dist/vue.js" > < / script >
Create vue instance object, set el property and data property
Using simple template syntax to render data to the page
el m ...
Added by salman_ahad@yahoo.com on Thu, 13 Feb 2020 12:14:46 +0200
vue for Web picture waterfall streaming + drop-down refresh + pull-up load more
1. Idea analysis and effect diagram
Use vue to achieve a waterfall streaming effect, load network pictures, with drop-down refresh and pull-up load more features.Then, for the realization of these effects, put forward ideas:
Labels are appended to show the effect in turn according to the order in which the data is loaded.
Choose which way t ...
Added by tsiedsma on Mon, 13 Jan 2020 18:43:11 +0200
Nuxt.js Learning - Asynchronous Data
[TOC]
1. Asynchronous data
1.1. Official documents:
Nuxt.js extends Vue.js by adding a method called asyncData that allows us to get or process data asynchronously before setting up the data for a component.
asyncData method
The asyncData method is called before each load of the component (page component only).It can be invoked on the server s ...
Added by homchz on Mon, 06 Jan 2020 01:21:33 +0200
Axios GET cannot set content type
<p>Recently, in the project docking with the backend, the interface tool uses the < code > Axios < / code > thing. Anyway, there are many pits. In the back-end request, set < code > get < / code > request, set < code > content type < / code > in < ...
Added by Buffas on Wed, 11 Dec 2019 05:31:02 +0200
Comprehensive exploration of new features of Vue3.0 - rapid construction of practical projects based on Composition Api
Quick Start
Project source code: https://github.com/Wscats/vue-cli
This project comprehensively uses the new features of Vue3.0, which is suitable for novice learning
Based on the Composition API, i.e. function based API, the transformation is carried out. With Vue Cli, the priority is to experience the characteristics of Vue3
Using singleton ...
Added by EvanAgee on Tue, 10 Dec 2019 11:22:34 +0200
SpringBoot+MyBatisPlus+ElementUI step by step to build a project with front and rear end separated (with code download)
scene
Step by step, we will teach you to quickly build a spring boot project in IEDA:
https://blog.csdn.net/BADAO_LIUMANG_QIZHI/article/details/87688277
Please refer to the following blog for plug-in installation
Use @ Data to install Lombok plug-in for SpringBoot project in IDEA
https://blog.csdn.net/BADAO_LIUMANG_QIZHI/article/details/88 ...
Added by snap2000 on Mon, 09 Dec 2019 20:19:45 +0200
get request of axios - Code section
get method request of vue + elemetUI + axios
bug code example:
I. < script > · some codes
data() {
return {
resumes :[],
xss: [],
dialogShareFormVisible: false, // Pop up box: new share will not be displayed by default
}
},
// =========================================================== ...
Added by Brink Kale on Sat, 30 Nov 2019 07:44:43 +0200
express builds a pure background, and the foreground uses Vue cli scaffold
Note: after the background service changes, you need to restart the service; after the front-end configuration file changes, you need to run the command npm run dev againI. use express to provide background service and output interfaceBackground directory structure:
main.js
var express = require('express');
var app = express();
app.get('/', fu ...
Added by jackiw on Thu, 07 Nov 2019 04:15:43 +0200
When using Baidu's face recognition, there are several points to pay attention to (mainly some errors)
The premise is to call Baidu face recognition interface under the vue framework
vue project, unable to get this in the reader.onload function, unable to transfer the value to the global
Solution: if you encounter this problem, use let that = this to record this in the outer layer of reader.onload function, so that you can get this by using that ...
Added by scraff on Mon, 04 Nov 2019 17:32:27 +0200