Vue common commands (basic syntax Dictionary)

I can't remember what I used to refer to, so I can only turn back (what I learned will be updated) vue basis interpolation expression Declarative rendering / text interpolation Syntax: {expression}} <template> <div> <h1>{{ msg }}</h1> <h2>{{ obj.name }}</h2> <h3>{{ obj.age>=18 ? 'G ...

Added by Gladiator2043 on Wed, 20 Oct 2021 23:17:01 +0300

vue basic instruction

1. Interpolation expression Purpose: insert content directly into the dom tag Also known as: declarative rendering / text interpolation Syntax: {expression}} <template> <div> <h1>{{ msg }}</h1> <h2>{{ obj.name }}</h2> <h3>{{ obj.age > 18 ? 'adult' : 'under age' }}</h3> </ ...

Added by kit on Wed, 20 Oct 2021 21:55:13 +0300

Review listener watch

Function: listen for attributes and respond to data & calculated changes. When the data changes, the corresponding function will be executed immediately. The attribute values can be functions, strings, objects and arrays. 1. Attribute value type (1) Function type In the function type, the intercepted data is used as the function name. When ...

Added by Death_Octimus on Wed, 20 Oct 2021 03:17:55 +0300

Java project source code - Spring cloud + vue + oAuth2.0 build enterprise level micro service project

preface: spring cloud + vue + oAuth2.0 family bucket actual combat, front and rear end separated simulation mall, complete shopping process and back-end operation platform, which can quickly build enterprise level micro service projects. Support wechat login and other three-party login. Spring Cloud combat project Project introducti ...

Added by kernelgpf on Thu, 14 Oct 2021 07:49:31 +0300

Vue router routing manager

Routing mechanism introduce vue router is a plug-in of vue, which is used to provide routing function. Through the change of route, the components can be loaded dynamically to achieve the purpose of developing single page program. Use steps of Vue router 1) Create routing component 2) Configure route mapping: component and path mapping rela ...

Added by Warmach on Thu, 14 Oct 2021 03:46:19 +0300

How to use router after vite multi page configuration

Linking up with the previous article, after the vite multi page configuration, I found that the router could not be used normally, so I had a headache. Then I looked around and finally found a solution. The article is a little wordy. If you need to see the difference in configuration, please go directly to the end How to introduce router in vit ...

Added by Oxymen on Wed, 13 Oct 2021 20:27:29 +0300

Thoroughly understand the calculated properties, methods, and watches in Vue

Thoroughly understand the calculated properties, methods, and watches in Vue Preface: when learning the Vue framework, we will all be exposed to the calculation properties, methods and listeners, but for beginners, it is easy to confuse these concepts, so we are going to write an article to thoroughly explain these three properties. Calculat ...

Added by shareaweb on Wed, 13 Oct 2021 18:21:00 +0300

vue component communication

        There are three types of communication between components: parent to child, child to parent, and brother components Six communication modes between vue components         1.props/$emit                 props is passed from parent to child, $emit is passed from child to pare ...

Added by 86Stang on Wed, 13 Oct 2021 15:15:36 +0300

Menu routing and new project development

On the basis of the original, we added a new page, which is the user's personal information page person: The source code is: <template> <div> <el-card style="width: 40%; margin: 10px"> <el-form ref="form" :model="form" label-width="80px"> <el-form-item label="user name"> ...

Added by xeelee on Wed, 13 Oct 2021 02:06:13 +0300

If you can use markdown, will you deploy a document website

I believe you will usually use markdown to write documents, especially with Typora, which is very convenient. But many times we are not satisfied with local documents, but to make the documents online, so that if the content is updated, team members can see it in time. In fact, there are many open source projects used to generate static websit ...

Added by scotte on Sun, 10 Oct 2021 11:19:33 +0300