Vue JS source code analysis - responsive principle (19)

Vue source code analysis - responsive principle Welcome to the personal website: blog 5coder. cn Course objectives Vue.js static member and instance member initialization process vue.use(),vue.set(),vue. The creation process of these global members, such as extended()vm. e ...

Added by adrianuk29 on Thu, 20 Jan 2022 15:51:00 +0200

Vue core knowledge summary (super classic, real-time update)

1. Getting started with Vue Basics 1.1 scaffold environment installation Vue Installation of scaffold # Install @ vue/cli cnpm i -g @vue/cli 1.2. Create Vue project Create a project folder locally, such as d:\project, run cmd in this directory, and then execute the following command: # Create project vue create myapp # Select the in ...

Added by blueman378 on Thu, 20 Jan 2022 11:14:36 +0200

Use of slots

Use of slots During development, we often encapsulate reusable components: previously, we will pass some data to components through props for components to display; However, in order to make this component more universal, we cannot limit the content of the component to fixed div, span and other elements; For example, in some cases, we want the ...

Added by shimano55 on Wed, 19 Jan 2022 19:29:21 +0200

Vue3. 0 - use of composition API

I Composition API and Options API Options API options api (1) The advantages of the Options API are easy to learn and use, and the code has a clear writing position. (2) The disadvantage of Options API is that similar logic is not easy to reuse, especially in large projects. (3) The Options API can extract the same logic through mixins, bu ...

Added by JakesSA on Wed, 19 Jan 2022 16:17:45 +0200

Introduction and learning of vuex

The component communication methods we learned earlier: 1.Parent component passed props Transfer data to subcomponents 2.Child components pass data to parent components through custom events. 3.Non parent-child relationship via central event bus bus Transfer data. In actual project summary, multiple components often need to access the same ...

Added by darf on Wed, 19 Jan 2022 05:26:05 +0200

Project06_ Redis + springboot + Vue cli + docker = = = > email login + SMS login + alipay payment + user points ranking

1, Project environment Front end technology stack: Vue-CliFront end software: WebStorm 2020.3Front end style: BootstrapBack end technology stack: SpringBootBack end software: IntelliJ IEDA2019JavaJDK: 1.8Server: Alibaba cloud Centos 7Others: MyBatis, Redis, MySql, Docker, Shiro 2, Project demonstration Project source code: shoppingProject01_ ...

Added by emcb_php on Tue, 18 Jan 2022 14:51:41 +0200

[Vue] calculate attributes, slots and content distribution, custom events, and the use of $emit

1, Calculation properties Computed attributes are used to declaratively describe that a value depends on other values. When you bind data to a calculated attribute in the template, Vue will update the DOM when any value it depends on causes the calculated attribute to change. This function is very powerful. It can make your code more ...

Added by vince81 on Tue, 18 Jan 2022 12:35:08 +0200

Realize Vue with the interceptor of axios Thinking of login status verification in JS

When performing login verification in Vue, the idea should be as follows: first determine whether a routing page needs to be logged in to access. If so, the user needs to log in. If not, the user can access it directly. Well, first of all, in the background system, not every page needs login permission, so we need to mark the routing pa ...

Added by jwb666 on Tue, 18 Jan 2022 12:03:42 +0200

[think] $nextTick vs. setTimeout!

Author: Chimezie Enyinnaya Translator: front end Xiaozhi Source: blog There are dreams and dry goods. Wechat search [Daqian world] pays attention to this bowl washing wisdom who is still washing dishes in the early morning. This article GitHub https://github.com/qq449245884/xiaozhi It has been included. There are complete test sites, ma ...

Added by rid243 on Tue, 18 Jan 2022 04:18:32 +0200

SRS streaming media service SRS service http(s) api operation SRS service

SRS streaming media server provides a powerful API for developers to customize their own streaming media services according to their own business scenarios. Native environment: Virtual machine VMPRO15 installing Linux system: CentOS7 SRS service version: SRSv4-b2-4.0.215 (SRSv4 has officially released a stable version in December 2021) Li ...

Added by richardw on Mon, 17 Jan 2022 21:32:46 +0200