Principle and implementation of Vue bidirectional data binding 1

Do you remember how it felt when you first used Vue? Bidirectional data binding is so magical that it can make the code so simple. 1, Vue core ideas Before you understand the two-way binding of Vue, you need to recall the core idea of Vue. Remember getter/setter, Watcher? About getter/setter metho ...

Posted on Tue, 25 Feb 2020 19:05:16 -0800 by nanban

Electronic Vue cross platform desktop application development practice tutorial -- window style & open a new window

In this article, we will explain how to modify the window style. The default window of the system is very common, which is usually inconsistent with the design, so we need to customize it. Next, we will explain how to remove the original style, how to realize the minimization, maximization and closing buttons of the window. How to open a new ...

Posted on Thu, 20 Feb 2020 23:30:35 -0800 by nayone

[Spring Boot + Vue front and back separation - book management Demo] - [2] main interface book information display

👉 [Spring Boot + Vue front and back end separation - library management Demo] - [1] environment preparation Article directory 1, Main interface style 2, The binding of menu and router to realize page Jump 1. Create new 'BookManager.vue (query book page), BookUpdate.vue (modify book information pag ...

Posted on Tue, 18 Feb 2020 05:17:53 -0800 by alexu'

Full stack solution based on Serverless Component

What is Serverless Component Serverless Component yes Serverless Framework Support scenario solutions for multiple cloud resource choreography and organization. The goal of Serverless Component is to smooth out the differences between different cloud service platforms. You can think of it as a dependency module that can build applications more ...

Posted on Tue, 18 Feb 2020 01:56:08 -0800 by Duodecillion

Spring Boot + Vue separate front and back using Element rendering login interface

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. Last article talked about login interceptors. It talked about two kinds of interceptors, front-end ...

Posted on Tue, 18 Feb 2020 01:42:01 -0800 by hybmg57

Routing component parameter instance

Using $route in a component causes it to be highly coupled with its corresponding route star city, making the component usable only on certain URL s, limiting its flexibility Decouple components and routes using props const User = { template: '<div>User {{ $route.params.id }}</div>' } const router = new VueRouter({ routes: ...

Posted on Mon, 17 Feb 2020 08:14:56 -0800 by bbristow

1-2. Vue + element UI for simple modification

Vue modifying data in a table Here is the combination of vue and element UI components. Before using, you should prepare the installation environment of vue and element UI. For details, please refer to the blog https://blog.csdn.net/weixin_43913219/article/details/104296020 1. First, write the templat ...

Posted on Sun, 16 Feb 2020 01:17:50 -0800 by nileshn

vue realizes shopping cart

Shopping cart is an essential function of e-commerce, which can display multiple products and price information purchased by users. Recently, I am working on an e-commerce project, using the vue. Framework, a lightweight mvvm, and the data change view changes together; in order to respond to the layout, I use bootstrap. The mai ...

Posted on Sat, 15 Feb 2020 09:02:32 -0800 by ramus

Write your own code to understand the data bidirectional binding of Vue

The function of important code is written in the code annotation. Core point: 1. Object.defineProperty(), which is equivalent to adding a proxy to the value and assignment of related properties, can perform the functions in the proxy. Here, get is a two-way binding 2. The essence of Compiler is to trave ...

Posted on Fri, 14 Feb 2020 08:00:00 -0800 by manlio

Handwriting a complete set of Vue-based MVVM principles

As a front-end interviewer, I have to ask the following questions: Describe your understanding of MVVM? Next, I will implement a complete set of Vue-based MVVMs from scratch, which will be provided to the next year's "Gold, Three, Silver, Four" Job-hopping peak buddies to read in detail about ...

Posted on Thu, 13 Feb 2020 18:05:17 -0800 by eddjc