A lot of dynamic effects are used. Introduce four Nice Veu routing transition dynamic effects!

Author: Ahmad shadedTranslator: front end XiaozhiSource: sitepointThere 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, materials and ...

Posted by jrottman on Wed, 10 Nov 2021 06:43:46 +0100

How to use vuex

1, Introduction to vuex   Vuex is an essential part of using vue. Based on parent-child and brother components, it is convenient for us to transfer values. However, if the same set of data is used between unrelated components, it seems powerless. Then vuex can solve our problem. It is equivalent to a public warehouse, which can save the d ...

Posted by adam1984 on Mon, 08 Nov 2021 17:24:42 +0100

Principle analysis and practice of Vue router

Today, senior brother, let's talk about the implementation principle of Router and how to implement such a plug-in. Vue Router is the official routing manager of Vue.js. It is deeply integrated with the core of Vue.js, making it easy to build a single page application. I won't introduce the use of Vue Router too much. You can go to the offic ...

Posted by billborric on Sun, 07 Nov 2021 02:44:50 +0100

Vue router (routing in Vue) is basically used

because Vue Due to the lack of support for routing during development, the vue router plug-in was officially added. vue's single page application is based on Routing and components. Routing is used to set access paths and map paths and components. The traditional page application uses some hyperlinks to realize page switching and jump. In vue r ...

Posted by dips_007 on Sat, 06 Nov 2021 15:49:14 +0100

Maynor teaches you to complete a SPA commodity management system implemented by SpringBoot+Vue+Element (add, delete, modify and check)

Maynor teaches you to complete a SPA commodity management system implemented by SpringBoot+Vue+Element (add, delete, modify and check) preface I will get the complete code by private mail after three links~ I have completed the SPA commodity management system all morning. Please connect three times! Station B demo video Maynor ...

Posted by Snart on Fri, 05 Nov 2021 04:36:10 +0100

Vue3.x changes in components (required for front-end development)

1, Why is data in a component always in the form of a function? We try to make a counter case first and change the return form of data into an object. The specific codes are as follows: <template> <div> <button @click="num++">+</button> {{num}} <button @click="num--">-</button> </div> </te ...

Posted by Hisakata on Thu, 04 Nov 2021 08:17:54 +0100

Communication between components

The parent component in Vue transfers values to the child component Principle: it is completed by props input attribute 1. Set props for sub components 2. Accept the value passed in by the parent component through the input property of the child component let Child1={ template:"#child1", props:{ //Set an input property c1Msg ...

Posted by veluit06 on Wed, 03 Nov 2021 03:18:05 +0100

vue component encapsulation - tabBar bottom navigation bar

design sketch:   Component code: <template> <!-- Customize the bottom menu bar===>Simulate applet menu bar effect --> <div class="tabbar"> <!-- Space occupying container===>The page setup placeholder container is designed to offset the fixed positioning height of the bottom navigation bar. --> ...

Posted by cbrknight on Tue, 02 Nov 2021 16:15:42 +0100

Vue bidirectional binding

catalogue 1, Overview of bidirectional binding 1. What is bidirectional binding 2. Specific steps 2, Implementation of bidirectional binding 1. Implement an Observer (Object.defineProperty()) 2. Implement Watcher 3. Implement Compile (event listening) 1, Overview of bidirectional binding 1. What is bidirectional binding Two way b ...

Posted by whitemoss on Tue, 02 Nov 2021 09:28:37 +0100

[personal open source] Vue code view: a code interaction component for online editing and real-time preview

Component introductionVue code view is a lightweight code interaction component based on vue 2.x, which can edit and run code and preview effect in real time in web pages.Using this component, regardless of the sample code in vue page or Markdown document, the effect is as follows:Origin of componentsWhen the page or Markdown document in the pr ...

Posted by AZDoc on Mon, 01 Nov 2021 09:36:28 +0100