The problem that the value of select drop-down box in antd is object selection
When using the select drop-down box in antd, there is a small problem. In the background management system, the use of the drop-down box will not simply use the value value value in select, but will use the keyword corresponding to the id or value in Chinese, and the value value value in option may be repeated
1. effect picture
2.select relate ...
Posted by qing on Fri, 22 Nov 2019 02:33:20 -0800
How to deploy the front-end dist directory?
The front-end deployment is actually a part of front-end engineering. This blog is my attempt to summarize the front-end deployment based on my practical work experience and amateur exploration. On the one hand, I have some records, on the other hand, I can give you some inspiration.
Deploy to qiniu cloud
Deploy to Alibaba cloud OSS and Tence ...
Posted by CBR on Fri, 22 Nov 2019 02:13:52 -0800
Source code analysis of Vue view update patch process
In this article Deep source learning Vue responsive principle This article explains how Vue informs the data that depends on it to update when the data changes. The point of this article is: the view knows the change of the dependent data, but how to update the view.
Vnode Tree
There is a DOM tree corresponding to it in real HTML, and a similar ...
Posted by Averice on Tue, 19 Nov 2019 05:24:02 -0800
kui component library idea (come on, brother, keep updating, deploy gitpages, add issue)
Click the blue words above to follow us
Welcome to my public address, Python.
01
Some ideas
Today, I will not update the flash tutorial for the time being. Today, I write an article to introduce the idea of doing a day's kui component chemistry library. In fact, there is a vague feeling that I want to have my own component chemistry library, wh ...
Posted by lnt on Sat, 16 Nov 2019 13:59:40 -0800
Pass values of parent-child components in vue: props and $emit
Pass values of parent-child components in vue: props and $emit
Pass value from parent component to child component: through props array:
There are AcceptAndRefuse.vue subcomponents in the parent component of vue-cli Login.vue. First, import into the subcomponent hello, then register the component in components, and then use th ...
Posted by wikstov on Sat, 16 Nov 2019 11:34:10 -0800
Writing Abstract components with Vue
Students who have seen the Vue source code can know that components such as < keep alive >, < transition >, < transition group > and so onThe implementation of a component is an object. Note that it has an attribute abstract that is true, indicating that it is an abstract component.
Vue's documents do not mention this concept. ...
Posted by shelbytll on Sat, 16 Nov 2019 08:15:53 -0800
Development of obit system
Sometimes we need to derive some states from the state in the store, such as:
Copy code<div id="app">
<p>{{reverseMessage}}</p>
</div><script>
const store = new Vuex.Store({
state:{reverseMessage:'Hello Vue!'}
})
new Vue({
el:'#app',
store,
computed:{
reverseMessage:function(){return this.$ ...
Posted by Suchy on Fri, 15 Nov 2019 00:18:14 -0800
Docker compose deploy Vue+SpringBoot front and back end separation project
I. Preface
This article will deploy the front-end Vue project to Nginx through docker compose, and run the back-end spring boot project
Basic server environment:
CentOS7.3
Dokcer
MySQL
II. Docker compose deployment of Vue+SpringBoot front and back end separation project
The overall configuration structure of the project does not affect the st ...
Posted by Tomcat13 on Thu, 14 Nov 2019 19:28:45 -0800
vue front end frame day 1
vscode used
Quickly create html code! (English) + Tab
My first vue code
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Docu ...
Posted by bow-viper1 on Tue, 12 Nov 2019 11:18:58 -0800
vue ssr server-side rendering - preliminary development environment construction
vue ssr server-side rendering: the construction of development environment for beginners
Preface
By default, you have understood the basic content and implementation of ssr. If you are not familiar with it, you can read it first vue ssr server rendering
There are not many articles about the construction of ssr development environment on the Int ...
Posted by Fastback_68 on Tue, 12 Nov 2019 02:22:00 -0800