vue from introduction to mastery [vue data view]
vue
Vue is a "progressive framework": Vue Min.js only contains the core content of Vue [such as options api, data processing, template view parsing and other operations]; In the real project, we will import according to the demand
vuex implements public state management
Vue router realizes SPA (single page application) single p ...
Posted by DarkEden on Mon, 03 Jan 2022 19:58:16 +0100
Go Web framework | Gin introduction, one-day tutorial
Gin framework
Basic installation
1. First, you need to install Go (version 1.10 + is required), and then you can use the following Go command to install Gin.
go get -u github.com/gin-gonic/gin
2. Import it into your code:
import "github.com/gin-gonic/gin"
Usage example:
package main
import (
"net/http"
"github.com/ ...
Posted by coditoergosum on Mon, 03 Jan 2022 16:21:49 +0100
Let Flutter transform your dialog! (Attach,Dialog,Loading,Toast)
prefaceQ: What's the most smelly thing you've ever smelled in your life?A: My rotten dream.Brother Meng!!! I'm here again!This time, I can confidently say to you: I finally brought you a pub package that can really help you solve many pit ratio scenes!Put the previous shuttle_ smart_ Dialog, on the basis of maintaining the stability of the api, ...
Posted by HokieTracks on Mon, 03 Jan 2022 16:11:15 +0100
Vue Basics
1, Instruction
1.1 what are instructions?
The essence of an instruction is a custom attribute
1.2 instructions
v-cloak instruction usage:
Solve the problem of interpolation expression: "flashing"
Data binding instruction
⚫ v-text fill in plain text
⚫ v-html fill HTML fragment
⚫ v-pre fills in the original information
...
Posted by 5kyy8lu3 on Mon, 03 Jan 2022 16:07:12 +0100
Sophomore 15th file upload and download
File upload and download
How to upload files
To realize the file upload function in web development, it usually needs to complete two steps: one is to add the upload input item in the web page, and the other is to read the data of the uploaded file in the Servlet and save it to the local hard disk. Since most file uploads are submitted to the ...
Posted by philweb on Mon, 03 Jan 2022 15:06:40 +0100
CSS knowledge and advanced skills
1. Wizard diagram
1.1 why do I need sprite diagram
Many small background images are often used as decoration in a web page. When there are too many images in the web page, the server will frequently receive and send request images, resulting in excessive request pressure on the server, which will greatly reduce the loading speed of the pag ...
Posted by genix2011 on Mon, 03 Jan 2022 12:36:28 +0100
Front End Learning Records - HTML Texts
Introduction to HTML
Hyper Text Markup Language, Hypertext Markup Language, is not a programming language, but a markup language
Idea: There is a lot of data in the web page, different data may need different display effects. A label is equivalent to a container. To modify the style of the data in a container, you only need to change the ...
Posted by scottlowe on Mon, 03 Jan 2022 11:57:45 +0100
Vue Learning Notes - vue-cli Plus Practice
1. Vue: First vue-cli project
1. What is vue-cli
vue-cli is an officially provided scaffold for quickly generating a vue project template;
A predefined directory structure and code base is like choosing a skeleton project when we create a Maven project, which is scaffolding and makes our development faster.
Main functions:
Unified director ...
Posted by MA06 on Mon, 03 Jan 2022 11:03:37 +0100
Vue component development
Components are reusable Vue instances. If a part of a web page needs to be used in multiple scenarios, we can extract it as a component for reuse. Component greatly improves the reuse rate of code ** ** ** ** Extended reading: https://blog.csdn.net/YYxiaobao0726/article/details/86577481
1. Component name: Dash: hump type: Note: if it is hump ...
Posted by d3web on Mon, 03 Jan 2022 10:53:06 +0100
2021-07-29 some efficient operators in JS
A new version of JavaScript will be released every year, and some operators with more convenient and efficient operations will be added. Here are some efficient magic operators.
Chain operator (?)
When using a property with a deep structure and it is impossible to determine that all parents must exist, we need to make a series of jud ...
Posted by xcasio on Mon, 03 Jan 2022 10:31:41 +0100