In front-end development projects, data interaction with the back-end and requesting back-end data is an essential task. In the current front-end development work, the axios plug-in is usually used to get data from the back-end. Axios is a promise-based HTTP library that can be used in browsers and node.js. There are many advantages of axios, ...
Posted by Rochtus on Wed, 04 May 2022 22:35:20 +0300
The previous part introduces my understanding of vue componentization and the way that parent components pass values to child components. This part introduces the common ways that child components pass values to parent and brother components
The child component passes values to the parent component
Value transfer mode between ...
Posted by werty37 on Wed, 04 May 2022 17:16:00 +0300
vue+Element UI implements a card list. Click left and right to switch the rotation
Foreword: Based on a demand in the project, it is necessary to display some material lists on the home page. Each material card is displayed in the list. The material list is displayed in one line, and up to 5 cards are displayed in one line. When there are more ...
Posted by chigley on Wed, 04 May 2022 01:34:03 +0300
During this period of time, I suddenly wanted to make a music player to play, so this thing was born. Originally I just wanted to make a small demo to play, so I didn't plan to make the interface look good, so I modeled the optimization on the interface of Yueting. Later, I found that the demand had increased, which made the unsightly interfac ...
Posted by KyleVA on Tue, 03 May 2022 15:43:37 +0300
When I was working on a management system project today, I encountered a strange problem. My combined data doesn't show: Rendering 01: The data printed on the console is as follows: Debug Figure 01: As shown in the image, the data is printed, but the table is not rendered.
My datatable is split into two ...
Posted by Telemachus on Tue, 03 May 2022 10:11:05 +0300
vue3.0 came out for a period of time. I'm not very busy at the end of the year. I can touch fish and start learning Vue3. This paper mainly studies Vue3 project construction and the use of some plug-ins and libraries step by step from project construction to project practice, so as to reduce entry into the pit.
Reading Sanlian: li ...
Posted by veryconscious on Mon, 02 May 2022 17:53:48 +0300
Use eslint + husky + lint staged + prettier to improve front-end project quality and unify project code style
Eslint Check the code. After the editor enables Eslint, those that do not meet the specifications will be prompted automatically.
Prettier If you make the code pretty, you will change the code that does not meet the detection requir ...
Posted by helppy on Sun, 01 May 2022 15:47:01 +0300
[vue] vuex common interview questions
1, Introduction to vuex
Understanding of vuex
Vuex implements a one-way data flow and has a State to store data globally. When a component wants to change the data in the State, it must be done through mutation. Mutation also provides a subscriber mode for external plug-ins to call to obtain the u ...
Posted by FunkyELF on Sun, 01 May 2022 11:11:20 +0300
1.Vue. What is JS
Vue.js is one of the mainstream front-end frameworks, and angular js,React.js together and become the three main front-end frameworks! Vue.js is a framework for building user interface. It only focuses on layers. It is not only easy to start, but also easy to integrate with third-party libraries or existing projects. (Vue has ...
Posted by hadingrh on Sun, 01 May 2022 00:32:30 +0300