01 . Go Gin+Vue develops an online takeout application

Project introduction We will start to develop an api project using the Gin framework, which we call cloud restaurant. Like hungry, meituan takeout and other life service applications, cloud restaurant is an online takeout application. Users of the application can browse merchants, goods and place orders online. The project is divided into clie ...

Posted by hilltopper06 on Mon, 09 May 2022 15:43:08 +0300

Communication methods in Vue

Communication methods in Vue 1.props/$emit Parent to child (property transfer props) When a parent component transmits data to a child component, it transmits data through attributes: 1. Parent component: use attribute binding to transfer data ==Note: = = son refers to the name of the sub component, for example: This is generally used when ...

Posted by kobmat on Sun, 08 May 2022 22:08:31 +0300

Detailed explanation of Composition API in setup function in vue3

Disadvantages of Options API First, let's talk about the disadvantages of Options API in vue2, and then the advantages of Composition API in vue3 In Vue2, we write components through the Options API: A major feature of the Options API is to write the corresponding function module in the corresponding attribute; For example, data defines data, ...

Posted by rimedey on Fri, 06 May 2022 04:57:02 +0300

Vue express day10 -- background management project

Children's shoes requiring project drawings, private letter and message mailbox umall background management 1. Create project vue init webpack umall 2. Empty work 1. assets empty 2. components empty 3 ,router/index.js delete helloword related import Vue from 'vue' import Router from 'vue-router' Vue.use(Router) export default new Route ...

Posted by WakeAngel on Thu, 05 May 2022 08:40:43 +0300

The usage of vue-axios-plugin, and quickly configure multiple interfaces for the project

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

Vue component value transfer: a common value transfer method between a child component and a parent component and a sibling component

preface 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 catalogue 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 enables one line card list to switch from left to right

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

Made a music player with vue+flask (front-end part)

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

Vue Error 04: Failed to render a "combined data" in the form

Problem Description 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. problem analysis My datatable is split into two ...

Posted by Telemachus on Tue, 03 May 2022 10:11:05 +0300

Vue3 project is built from scratch and the use of plug-ins

Reading guide 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