Create front-end project under vue-cli4
Upper connection Create front-end projects (routing, vuex and axios applications) under vue-cli4 , this article solves some problems encountered in the coding process.
1. Set global template
The global template is used to display all pages according to a certain layout, such as advertisements or operation dials fixed on both sides, and only t ...
Posted by jjbarnone on Sun, 19 Sep 2021 01:48:38 -0700
What is media query
Sorting of media query knowledge points
1. What is media query?
Media query is the if statement of the style sheet, which determines which CSS to execute through various conditions.
@media only screen and max-width:600px{
.aside{
width:500px;
}
}
compatibility:
<!–[if lt IE 9]>
<script src="http://cdn.staticfile.org/livingsto ...
Posted by jamesdk on Sat, 18 Sep 2021 18:36:09 -0700
ES6 5. Extension of values
1 binary and octal representations
ES6 provides a new writing method, which is represented by prefixes 0b (or 0b) and 0o (or 0o) respectively.
0b11110111 === 503 // true
0o767 === 503 // true
Starting from ES5, in strict mode, octal values are no longer allowed to be represented by prefix 0. ES6 further clarifies that they are represent ...
Posted by unistake on Sat, 18 Sep 2021 05:39:32 -0700
Summary of Web playback webcam real-time video streaming (RTSP) schemes
preface
The Web side adopts vue framework for development and testingTest only under Windows 10See the tutorial of EasyPlayer.js here
RTMP scheme
Scheme Description:
ffmpeg transfers rtsp video to rtmp video stream, which is played through nginx proxy and web access rtmp protocol. flash support is required
Back end:
ffmpeg + nginx + nginx ...
Posted by Rai_de on Fri, 17 Sep 2021 15:57:18 -0700
This is the only super detailed explanation of Object object methods in JavaScript
In JavaScript, almost all objects are instances of object type, and they inherit properties and methods from Object.prototype. The object constructor creates an object wrapper for the given value. Object constructor, which creates an object based on the given parameters.
If the given value is null or undefined, an empty object is created a ...
Posted by forumnz on Fri, 17 Sep 2021 05:05:36 -0700
Tab inter page communication
1, Scene
There are different scenarios for inter Tab communication:
Communication between Tab pages under homologous websitesTab page communication under non homologous websites
2, Communication mode between Tab pages under homologous websites
According to the characteristics of communication, it is divided into three modes: point-to-point ...
Posted by cliftonbazaar on Thu, 16 Sep 2021 18:19:41 -0700
vue component library development upload npm
1. Build vue project first
Run Vue cli
vue create vui
We renamed src to examples and added the packages directory to store our custom components
However, cli will start the service under src by default. If the directory name changes, we need to manually modify the configuration and customize the file of packaging configuration items. ...
Posted by polymnia on Mon, 13 Sep 2021 13:04:52 -0700
Web front end advanced (Vue.js) notes
Web front end advanced technology (Vue.js) notes
Chapter I Vue.js overview
1, Three frameworks of Web front-end advanced technology
1,Angular
Bidirectional data binding Angular is an excellent front-end JS framework, which has been used in many Google products
Angular property:
Good application structureBidirectional data bindinginstructi ...
Posted by globetrottingmike on Sun, 12 Sep 2021 13:28:40 -0700
HTML5 learning notes
Learning and using HTML5 language (I)
1, Basic introduction
1. What does HTML do
HTML: Hyper Text Markup Language for creating web pages HTML language is the basis of the Web. It can be said that the Internet is based on HTML. HTML5 is a new generation of HTML standard, which is already supported by most browsers**
2. Basic structure of ...
Posted by djs1 on Sat, 11 Sep 2021 23:37:57 -0700
Re learn the front end, introduction to ten thousand words, HTML+CSS + responsive Web Design
Responsive web design certification | freeCodeCamp.org
Reminder before viewing: I'm good at using Ctrl+F. I don't want to be detailed, but to understand. I gave links to examples or documents for some incomprehensible contents, and some small games I recommend. I hope I can give you three links 💕
🍓Basic HTML
From here on, if you d ...
Posted by Res on Fri, 10 Sep 2021 20:29:47 -0700