Build multi page vue.js project
introduce
According to the requirements, we want to build a multi page vue.js project. How to transform a single page vue.js project into a multi page project? Follow me and watch
1. Create a single page vue.js project
Simply record the following creation steps:
--install cnpm
npm install -g cnpm --registry=https://registry.npm.taobao.or ...
Posted by tastro on Sun, 24 Nov 2019 10:41:01 -0800
Chat rooms with Swoole+React
Front-end separated projects, chat rooms implemented by Swoole+React, the framework structure of the entire project can be referenced, front-end react+react-redux+react-router+react-ant, etc. Background uses easySwoole to implement the middleware (data encapsulation, token verification, signature verification) by itself, and carefully look at t ...
Posted by magmazing on Sat, 23 Nov 2019 01:45:57 -0800
Online code editor - codeMirror
Explain
codeMirror is a very powerful code editing plug-in, which provides a very rich API. Recently, this plug-in has been used in the project to make a record.
Official website
github address
install
download the installation package directly on github or clone
npm installation
npm install --save codemirror
Introduce
*Manual introduc ...
Posted by RottenBananas on Wed, 20 Nov 2019 13:49:07 -0800
Node.js Asynchronous Programming Evolution Theory
This article uses the "Signature 4.0 International (CC BY 4.0)" license agreement, and welcomes reprinting, or re-modifying the use, provided the source is indicated. Signature 4.0 International (CC BY 4.0)
Node.js asynchronous programming callback
We know that there are two ways to handle events in Node.js, callback and EventEmitter. ...
Posted by isedeasy on Tue, 19 Nov 2019 20:15:42 -0800
The method of Koa2 in Node.js to output request log in console
Koa2 is really a very lightweight framework. Both the lightweight and routing are separate modules. Koa2 also has no logging function. If we need to have some requested logs and time, we need to introduce log middleware
Introducing time format library MomentJS
Install MomentJS
npm install moment --save
Simple format time
Use YYY ...
Posted by jokkis on Mon, 18 Nov 2019 12:41:35 -0800
Master vscode debugging skills
Debugging front-end js
Prepare a Front End Project
index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</ ...
Posted by kruahsohr on Mon, 18 Nov 2019 11:47:12 -0800
git hook and automatic deployment
Tencent cloud 11.11 is the first purchase of 1-core 2G cloud server of 88 yuan, and receives 9888 yuan voucher free of charge. Once 100 cloud products are folded
Then the last article goes on to say [git hook and Automated Deployment (I)] (https://segmentfault.com/a/11900021044092)
webhook
Definition
Webhooks allow you to build or set up inte ...
Posted by tim_perrett on Mon, 18 Nov 2019 02:26:08 -0800
kui component library idea (come on, brother, keep updating, deploy gitpages, add issue)
Click the blue words above to follow us
Welcome to my public address, Python.
01
Some ideas
Today, I will not update the flash tutorial for the time being. Today, I write an article to introduce the idea of doing a day's kui component chemistry library. In fact, there is a vague feeling that I want to have my own component chemistry library, wh ...
Posted by lnt on Sat, 16 Nov 2019 13:59:40 -0800
Docker compose deploy Vue+SpringBoot front and back end separation project
I. Preface
This article will deploy the front-end Vue project to Nginx through docker compose, and run the back-end spring boot project
Basic server environment:
CentOS7.3
Dokcer
MySQL
II. Docker compose deployment of Vue+SpringBoot front and back end separation project
The overall configuration structure of the project does not affect the st ...
Posted by Tomcat13 on Thu, 14 Nov 2019 19:28:45 -0800
Getting started with Google Assistant SmartHome
demand
Through Google Assistant to control some slave devices (Light, Washer and other devices), a short video on Youtube introduces the process of Google Assistant to control SmartHome. Integrating Smart Home Devices with the Google Assistant
Smart Home development documentation
Google Assistant controls third-party slave d ...
Posted by ieda on Wed, 13 Nov 2019 10:55:37 -0800