Vue 2.0 makes list components to realize pagination, search, batch operation, etc.

This article only explains how to use Vue to create a list component that implements paging, searching, and batch operations, so only the code and instructions for this widget are provided, and no other code or configuration is provided. github address: https://github.com/jothy1023/vue-component Technology or framework used ...

Added by pingu on Mon, 15 Jul 2019 02:06:44 +0300

Install Vue.js using Taobao mirror cnpm

Preface Vue.js is a hot MVVM framework in the front end. To use it, we must configure it in advance. One of the installation methods is npm, which is more suitable for larger applications. Today let's see how to operate this way. Because NPM is a foreign country, it's relatively slow to use. Here we use Taobao's cnpm image to install vue. ...

Added by nlhowell on Mon, 15 Jul 2019 01:59:24 +0300

Talk about long lists in front-end development

Front-end business development will encounter some lists that can not be loaded by paging, which we generally call long lists. In this article, we define long lists as lists with data lengths greater than 1000 and cannot be presented in paginated form. This article explores the following topics: Is it possible to optimize the long list of fu ...

Added by bobthebuilder on Sun, 14 Jul 2019 23:53:40 +0300

Vue.js--Custom Instructions

http://www.jianshu.com/p/c2bef47439ab Vue.js allows you to register custom instructions, essentially allowing you to teach Vue some new tricks: how to map changes in data to the behavior of the DOM.You can register a global custom instruction by passing in an instruction ID and a definition object using the Vue.directive(id, definiti ...

Added by waylon999 on Sun, 14 Jul 2019 19:42:30 +0300

vuejs learning notes

Each Vue.js application is started by creating a root instance of Vue through the constructor Vue: var vm = new Vue({ // option }) Each Vue instance proxies all of its data objects var data = { a: 1 } var vm = new Vue({ data: data }) vm.a === data.a // -> true // Setting properties also affects raw data vm.a = 2 data ...

Added by 00tank on Sat, 13 Jul 2019 23:10:03 +0300

Rendering Configurable Forms with Vue--A Questionnaire Platform Project

In recent days, there has been an urgent project to make an internal version of the questionnaire star. It is equivalent to a platform for editing questionnaires and providing questionnaires for displaying data statistics. The whole project is not long-term, in line with the principle of accumulation and accumulation, the process of thinking a ...

Added by hellonoko on Tue, 09 Jul 2019 02:29:59 +0300

vue entry: (component)

Template: (template) Template declares the mapping relationship between data and the DOM that is ultimately presented to the user. Initial data: (data) The initial data state of a component. For reusable components, it is usually a private state. Receiving external parameters: (props) data transfer and sharing between components through para ...

Added by grandeclectus on Mon, 08 Jul 2019 23:56:10 +0300

Vue Common Object Data Update and file Object Data Update

Recently, in order to make a multi-image upload component, the requirement is to upload multiple files in turn, and display the upload progress bar. After the implementation of the logic part, there is a problem when updating the progress bar view: the dynamic calculation of production progress attributes will not be automatically updated. The ...

Added by harmor on Sat, 06 Jul 2019 01:41:47 +0300

vue+websocket+express+mongodb real-time project (live chat)

Continue to the previous project Use vuejs to imitate NetEasy Cloud music (for listening and searching) Later, I found that the previous project was very confused simply managed with vue's model, and then I went to see vuex, and planned to do a project practice, but did not want to do a duplicate project. This time, I gave up my face and planne ...

Added by Citizen on Fri, 05 Jul 2019 19:54:12 +0300

Instance PK (Vue server rendering VS browser rendering)

Vue 2.0 began to support server-side rendering, so this article is also based on Vue 2.0 version or more. There is still little information rendered by the server on the internet. The most classic one is Vue-hacker-news, the author of Vue, the God of Youyuxi. When I do Vue project in the company, I have been suffering from the product, customer ...

Added by ScottRiley on Wed, 03 Jul 2019 02:53:36 +0300