Clever Response: Deep Understanding of the Responsive Mechanism of Vue 3
Note: This is the notes of the Saint Teacher's course. The original course address is: 07 | Smart Response: Understanding the Response Mechanism of Vue 3
First, what is a response
Looking at the code below, double s depend on count, but when we modify count, it doesn't change.
let count = 1
let double = count * 2
console.log(double)//2
count ...
Added by webtailor on Tue, 23 Nov 2021 22:56:05 +0200
Vue basic learning notes
1. Getting started with Vue
1.1 what is Vue
Vue (pronunciation / vju) ː/, Similar to view) is a set of progressive JavaScript frameworks for building user interfaces.
Vue's core library only focuses on view layers, that is, only pages.Vue provides a set of JS framework, usually called Vue framework.Progressive, that is, you can use Vue ...
Added by safrica on Tue, 23 Nov 2021 04:17:17 +0200
Beginner Vue2.0 - front end routing
1, Concept and principle of routing
1. What is front-end routing?
Front end routing is the correspondence between the hash address (anchor link) and the component.
Hash address: the addresses in the url and beyond are called hash addresses
To get the hash address, use the location.hash method.
2. Working mode of front-end routing
How fr ...
Added by wilburforce on Sat, 20 Nov 2021 02:28:53 +0200
css some useful knowledge points
record some css that will be used but not often used. I don't remember these things very reliably. Every time I need to use them, I know what to use, but I don't remember how to write the code. Here's a record to deepen my impression
1, Adaptive layout and responsive layout
first, let's talk about adaptive layout and respons ...
Added by stbalaji2u on Fri, 19 Nov 2021 12:22:27 +0200
Differences and relations between Vue router's base and vue.config.js's publicPath
Differences and relations between Vue router's base and vue.config.js's publicPath
explanation of the base official document of Vue Router:
base
type: string
Default value: "/"
The base path of the application. For example, if the entire single page application service is in /app/ Next, then base Should be set to "/app/"
exp ...
Added by mdojet on Wed, 17 Nov 2021 05:36:03 +0200
Vue3+TS quick start
1, TypeScript quick start
New TypeScript
TypeScript is a superset of JavaScript. It mainly provides type system and support for ES6 +. It is developed by Microsoft and the code is open source GitHub upper
Install TypeScript
Run the following command from the command line to install TypeScript globally:
npm install -g typescript
After ...
Added by furotte on Fri, 12 Nov 2021 22:08:30 +0200
Vue Grammar Advancement
1. Event Action
Get Event Object in Vue
Common event function, the first form parameter of event handler receives injection of event object by default when called without any parameters, that is, the first parameter of event function is event object
<div id='app'>
<input @keyup='getKey' type='text'/>
</div>
...
<script& ...
Added by febrarian on Fri, 12 Nov 2021 18:39:56 +0200
Vue Learning--vue implements the default value of the select drop-down box
Today, when using vue to implement the selected drop-down box, I found that after binding attributes with v-model, the selectbox that originally displayed the first item by default became blank, and specifying the selected attribute in the option tag had no effect. So I summarized how to implement the default values of the drop-down box under d ...
Added by jmakeig on Tue, 09 Nov 2021 01:55:09 +0200
vue-06 componentization practice
vue component practice
Component Foundation
A component is a reusable Vue instance with a name. We can use this component as a user-defined element in a Vue root instance created through new Vue.
Component registration, use and data transfer
Vue.component(name, options) can be used to register components.
Example: extract new course components ...
Added by igorlopez on Sun, 07 Nov 2021 03:38:56 +0200
On the scheme of front-end role authority
FinClip How can front-end engineers control and implement different roles and permissions in the front-end, so as to control different users to access different pages?
preface
For most background management, role permissions are an important link. Through the configuration of role permissions, we can easily adjust whether users can access r ...
Added by sendoh07 on Thu, 04 Nov 2021 22:55:31 +0200