Nuxt.js server rendering from installation to deployment
Nuxt.js server rendering scheme
Learn about nuxt Role of JSMaster nuxt Routing in JSMaster the differences among layouts, pages and componentsCan be in nuxt Using third-party ui libraries or plug-ins in JS projectsMaster nuxt How to get data asynchronously in JSMaster SEO optimization
1, What is SEO
SEO is the abbreviation of English Search ...
Posted by jimmyt1988 on Thu, 20 Jan 2022 20:31:22 +0100
Encapsulation of front-end design patterns
Encapsulation of front-end design patterns
this article refers to the JavaScript Design Pattern and development practice written by Zeng tan
1. Package data
in the object system of many languages, encapsulating data is implemented by syntax parsing. These languages may provide private, public, protected and other keywords to pr ...
Posted by ereptur on Thu, 20 Jan 2022 14:26:03 +0100
Packaging Electron program with Electron builder
preface
After the development of Electron code, if you want to put it into production environment, you must go through a key step - packaging.
Use it on MacOS today electron-builder Make a record of the process of packaging Electron application.
Why pack
My last article< Debugging Electron main process code with VSCode >This paper introd ...
Posted by petromanian on Thu, 20 Jan 2022 13:59:13 +0100
Packaging Electron program with Electron builder
preface
After the development of Electron code, if you want to put it into production environment, you must go through a key step - packaging.
Use it on MacOS today electron-builder Make a record of the process of packaging Electron application.
Why pack
My last article< Debugging Electron main process code with VSCode >This paper i ...
Posted by LikPan on Thu, 20 Jan 2022 12:56:16 +0100
Front end development foundation (JavaScript foundation III)
1, Scope
1. Global scope:
It acts on the environment of all code execution (inside the whole script tag) or an independent js file.
2. Local scope:
The code environment acting on the function is the local scope. Because it is related to functions, it is also called function scope.
3. JS has no block level scope:
The block scope is include ...
Posted by harryman100 on Thu, 20 Jan 2022 10:29:20 +0100
MUI - chat window
preface
Some time ago, MUI was used to make an APP, and the customer put forward ideas on whether to add a chat function to ensure the communication of all participating roles in the work order system.
OK, arrange!
Chat layout analysis
We need to implement a chat window, and we need to give priority to the composition of its layout.
Re ...
Posted by kee1108 on Thu, 20 Jan 2022 09:05:10 +0100
Vue learning notes 02
12, Axios
1. General
Axios is a component used by vue to send AJAX requests, but it is not provided by vue
2. Related websites
github: https://github.com/axios/axios
3. Installation and import
install
cnpm install --save axios vue-axios
Import
#Import vue and axios components
import Vue from 'vue'
import axios from 'axios'
import VueA ...
Posted by sujithtomy on Thu, 20 Jan 2022 07:56:22 +0100
Prototype and prototype chain
1, What is a prototype
Prototype: when each javascript object (except null) is created, it will be associated with another object. This object is what we call the prototype, and each object will "inherit" properties from the prototype.
for example
var obj = new Object();
When creating an object, an object will be associated ...
Posted by schoi on Thu, 20 Jan 2022 07:37:37 +0100
TypeScript advanced type 2 you need to know (summary)
Type inference:
If no type is explicitly specified, TS will infer a type according to the rule of Type Inference:
let myFavoriteNumber = 'seven'; //No mistake
myFavoriteNumber = 7; //Type 'number' is not assignable to type 'string'.
Note: different from declaring no assignment, declaring no assignment will be set to any ...
Posted by rndilger on Thu, 20 Jan 2022 06:06:48 +0100
End 996, this program productivity tool is really awesome
As a Web Front end developers spend most of their time in the development process in addition to writing business code API On the joint commissioning of. To solve this problem, most developers will choose Mock Interface scheme, but several commonly used in the front-end field Mock All schemes require a certain learning cost. So is there a more ...
Posted by guilhenfsu on Thu, 20 Jan 2022 02:57:15 +0100