Tag:vue.js

  • Vue instance initialization of Vue source code

    Time:2020-1-19

    This section mainly records:VueInitialization process of The following is officially started: Life cycle diagram of Vue official website Point outnew Vue()The post initialization phase, i.ecreatedWhat happened before. initLifecyclestage export function initLifecycle (vm: Component) { const options = vm.$options // locate first non-abstract parent let parent = options.parent if (parent && !options.abstract) { while (parent.$options.abstract && […]

  • Spring boot + websocket to realize online chat (2)

    Time:2020-1-19

    This is the 15th article in the VHR series. The project address is https://github.com/lend/vhr Online chat is implemented by springboot + websocket. In order to ensure the privacy of users, all chat data are stored in the local system, and the server only forwards the data. OK, let’s take a look at the general implementation […]

  • Vue + jsp + V-for + Axios realize the function of query list without paging

    Time:2020-1-19

    This part of the content is written in great detail, in order to make the little white without contact with Vue can quickly start using Vue, and also answer some questions of using Vue for beginners. Through this case, we can understand the basic knowledge of Vue thoroughly, so as to prepare for using Vue […]

  • Vue visualization, Vue code generation, esview

    Time:2020-1-19

    1 project introductionEsview is a tool for dragging components to generate Vue code.Including drag and drop page generation, page management, component management and other functions.The front-end uses Vue and iView, and the generated code can only be used when Vue and iView are installed,In the background, Java (spring boot) is used as the persistence layer […]

  • Virtual Dom and diff algorithm in Vue

    Time:2020-1-18

    Virtual DOM Why does it appear: Browser parsing an HTML can be roughly divided into five steps: create DOM tree – > create style rules – > build render tree – > layout – > Draw painting. Every time the real DOM is operated, the browser will execute the process from the beginning to the […]

  • Vue + jsp + V-for implementation list, with paging version

    Time:2020-1-18

    Previously, I wrote a non paged Vue display list,https://segmentfault.com/a/11…The paged list is very similar to the non paged list, so I’ll introduce the paged list here. The key is to understand each line of code and understand each line of code deeply, so as to design the corresponding scheme when encountering similar business. It will […]

  • Some problems in Vue and iView applications (continuous update)

    Time:2020-1-18

    I have answered some questions about the use of Vue and iView before, and occasionally someone will ask again, which is too much trouble in the previous answers.So the related questions are summed up here. 1. Adding on change is not valid when rendering iView components, such as select, using rendering functions.Because the event in […]

  • (Part 3) copy “Vue ecology” series “enumeration” and “bidirectional binding”

    Time:2020-1-17

    (Part 3) copy “Vue ecology” series “enumeration” and “bidirectional binding” This task Give the noun “ergodic” a knock Analyze defineproperty Realize data bidirectional binding of CC uue Warm up for the next proxy instead of defineproperty 1、 ‘foreach’ vs’ map ‘ Many articles have written about the difference between them Foreach does not return a […]

  • Segment fault community interview | aresn: a heavyweight author of iView

    Time:2020-1-17

    In the last interview, Felix is a person who exists as air. On the contrary, the guest in this interview is a person who has a strong sense of existence(It’s not about weight)The author of aresn — iView, a heavyweight user who has used Vue and its related UI component library, is no stranger to […]

  • Gitnote: git based cross platform Notes software officially released

    Time:2020-1-17

    Gitnote cross platform Notes software based on Git Why? Since my work, I began to take notes, which is a great habit. I used to use the ediary Evernote OneNote wiz wheat library and other good note taking software, but there are a variety of problems that can not meet my use In 2013, I […]

  • Let’s learn the principle of vuerouter

    Time:2020-1-16

    Blog original Basic principles of two routing modes After using Vue router, we know that it provides two modes,hashandhistory, build option mode through router)Configurable.A simple understanding of the front-end routing in spa is as follows: Using some existing APIs to change the URL, but not triggering the browser to actively load the new URL, the […]

  • Vue + jsp + implementation add

    Time:2020-1-16

    Vue single table addition, very simple, very little code Data domain var data4Vue={classes: [],beanAdd: { classname:’classname’, classmsg:’msg’}}; –Beanadd is a JSON object whose content is the initial value of the page. Add a method to the method field: add: function (event) { axios.post(“class”, this.beanAdd).then(function(response){ Vue. List (1); // refresh the page vue.beanAdd = {classname:’classname’, classmsg:’msg’} […]