Handles teach you to build SSR(vue/vue-cli + express)
Recent simple research on SSR, SSR has a simple understanding, mainly for single-page applications, Nuxt is a good framework for SSR.There have also been some research, simple use, or very good feeling.But you still want to know if you don't depend on the framework and if you're working with SSRs, take a note.
What is SSR
Render the Vue compone ...
Added by pckidcomplainer on Wed, 12 Jun 2019 20:30:43 +0300
Construction of TypeScript01 Compiling Environment, String Characteristics and Type Characteristics
Knowledge preparation: JavaScript meets the ES5 front-end specification, TypeScript meets the ES6 front-end specification
1 TypeScript Development Environment
TypeScript code cannot be directly recognized by browsers, so it must be converted into JS code first; usually, TS code is converted into JS code by compiler.
1.1 Use an online editor
1.1 ...
Added by brad_langdon on Sat, 08 Jun 2019 23:33:10 +0300
Simple Chat Room (express Framework) Based on Websocket
Recently, I wanted to write something interesting, so I finished this simple, not very beautiful gadget.
First you have to make sure that your computer has node s, and then you can do things step by step.~~
1. Create a folder
2. Clear the current folder address bar and enter cmd.exe in the folder address bar
3. We need to download a little some ...
Added by lucidfx on Sat, 08 Jun 2019 05:03:19 +0300
How to write a public NPM package yourself
with markdown-clear , create process as an example, explain the entire NPM package creation and publishing process
1 How to create a package
1.1 Create and use a project
Create a new warehouse on GitHub named markdown-clear
clone This project goes local
1.2 Add toLICENCEorLICENSEFile describing the corresponding open source protocol
reach SP ...
Added by jonez on Fri, 07 Jun 2019 20:04:13 +0300
Hand-in-hand teaches you a vue2.0 bullet window assembly
Hand-in-hand teaches you a vue2.0 bullet window assembly
Before you start, you need to know the pre-knowledge of developing vue plug-ins. It's recommended that you take a look at it first. Introduction of plug-ins for vue official website
Preview address http://haogewudi.me/kiko/inde...
Source address https://github.com/rascalHao/...
Construc ...
Added by hyeteck on Fri, 07 Jun 2019 00:40:56 +0300
One-page Application (SPA) Construction Based on Reaction Technology Stack Quick Start Practice
Summary
This article uses create-react-app as scaffolding, and combines react + redux + react-router to build a simple single-page application demo. The article will step by step explain how to build such a one-page application. The corresponding demo address will be given at the end of the article.
This paper mainly explains the practical proc ...
Added by jansky on Tue, 04 Jun 2019 21:14:24 +0300
Express + Session Implementing Logon Authentication
1. Write in front
When we log on to a website, without logging out, we shut down the website, and after a period of time, open the website again, it will still be logged in. This is because when we log on to a website, the server will save our login status until we log out or the saved login status expires. How does the server store our login s ...
Added by ToddAtWSU on Sun, 26 May 2019 21:13:25 +0300
Detailed description of JS modularization
JS Modularization
Modular understanding
What is a module?
Encapsulate a complex program into several blocks (files) according to certain rules (specifications) and combine them together.
The internal data/implementation of the block is private, but exposes some interfaces (methods) to the outside to communicate with other external module ...
Added by Mr Camouflage on Fri, 24 May 2019 21:41:21 +0300
Vuex 2.0 source code analysis
I. Preface
When we use Vue.js to develop a medium to large single-page application, we often encounter the following problems:
How to let multiple Vue components share state
How to communicate between Vue components
Usually, when the project is not very complex, we will use the global event bus to solve it, but as the complexity i ...
Added by dcf1023 on Tue, 21 May 2019 02:43:01 +0300
Guidelines for Taifang Block Chain Development from Zero
Preface
In the last article, we introduced Geth installation, and today we describe how to deploy smart contracts.If you haven't read the last introductory article yet, I suggest you read the last one first Guidelines for Taifang Block Chain Development from Zero .Deploying smart contracts first requires a contract file written by solidity and ...
Added by mastercjb on Sat, 18 May 2019 15:57:28 +0300