How to configure vue-config.js when creating a project with vue-cli3
After using vue-cli3 to create a project, because the configuration of webpack is hidden, when you need to overwrite the original configuration, you need to create a new vue.config.js file in the root directory of the project to configure the new configuration.
There is a big difference between Vue cli ...
Added by Neotropic on Tue, 10 Mar 2020 10:00:09 +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
Deconstruction and assignment of variables in ES6
Destructuring assignment
1. Deconstruction and assignment of array
Basic Usage
The left and right sides have the same structure
Right must be a legal value
Declaration and assignment cannot be separated in one sentence
let arr = [1, 2, 3];
let a = arr[0];
let b = arr[1];
let c = arr[2];
conso ...
Added by blkraven on Sun, 01 Mar 2020 16:12:36 +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
Spring Boot + Vue separate the front and back ends and use Shiro to realize user information encryption
Hello, welcome to the program workplace, where you need to improve technology, career planning, personal growth, sideline development and other articles.
Learn and improve with more small partners.
In the last part, we talked about the authority database and authority control in the background. A ...
Added by manitoon on Wed, 26 Feb 2020 10:29:03 +0200
Vue series learning notes component Foundation
Article directory
1. Basic example
1.1 'data' must be a function
2. Transfer data to subcomponents through 'props'
3. Single element
4. Listen to subcomponent events
4.1 use ` v-model 'on components`
5. Distribute content through slots
6. Dynamic components
7. Precautions when parsing DOM template
...
Added by stuartbaggs on Tue, 25 Feb 2020 10:05:09 +0200
The adaptation of uni app to the cloud function of wechat applet
Introduction
People who are familiar with uni app should know that uni app does not adapt the cloud function of wechat applet (collectively referred to as cloud function in this article). But what if we need to use cloud functions in some business scenarios? We know that cloud functions can be copied to ...
Added by toffler on Sun, 23 Feb 2020 05:15:18 +0200
Use of v-on instructions
v-on directive
I. usage
Bind event listeners. The event type is specified by the parameter. An expression can be the name of a method or an inline statement, or it can be omitted without modifiers.
When used on normal elements, you can only listen to native DOM events. When used on custom element c ...
Added by mark_kccs on Thu, 20 Feb 2020 14:20:06 +0200
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
VUE MVVM introduction and demonstration
MVVM introduction and demonstration
easyUI
knockout
smartclient
exit.js
During the interview, the interviewer will ask you to describe the MVVM you know?
What is MVVM implemented in Vue?
OK, let's solve the problem
First of all, the first M refers to the Model, that is, the * * data Model. In fact, it refers to the data * * in the Vue co ...
Added by chooseodie on Fri, 14 Feb 2020 09:45:56 +0200