vue+vuex+axios+echarts Draw a dynamically updated map of China
I. Build projects and install plug-ins
# Install vue-cli
npm install vue-cli -g
# Initialize project
vue init webpack china-map
# Cut into Catalog
cd china-map
# Installation Project Dependency
npm install
# Install vuex
npm install vuex --save
# Install axios
npm install axios --save
# Install ECharts
npm install echarts --save
II. Pr ...
Posted by jimmyborofan on Mon, 20 Jul 2020 08:30:08 -0700
express Learning (3) - cookie s and session s
express Learning (3) - cookie s and session s
Cookies exist in the browser and can only store up to 4K of data, which is not safe
Session exists in the server and cannot be independent (read cookie s before session), which is more secure
cookie
tool
Send cookie s:
Write the basics first:
const express = require('express');
var server=expre ...
Posted by Jedi Legend on Thu, 16 Jul 2020 08:18:30 -0700
Beginner vue+webpack (front end of formal pit entry)1
1. Install firstNode.jsEnvironment Official Website Address https://nodejs.org/en/ Text editor chooses sublime text3 (vs is too big)
2. Establishing projects
2.1 Create a new project folder, code-x code number x plan, and put it on the desktop
2.2 Initialization
cd c:\user\duab\desktop\code-x
npm install -g vue-cli //Global Installation vue-c ...
Posted by BinaryDragon on Mon, 13 Jul 2020 08:02:55 -0700
Beginner vue+webpack (front end of formal pit entry)1
1. Install firstNode.jsEnvironment Official Website Address https://nodejs.org/en/ Text editor chooses sublime text3 (vs is too big)
2. Establishing projects
2.1 Create a new project folder, code-x code number x plan, and put it on the desktop
2.2 Initialization
cd c:\user\duab\desktop\code-x
npm install -g vue-cli //Global Installation vue-c ...
Posted by skehoe on Mon, 13 Jul 2020 08:03:31 -0700
Node.jsConnect mongodb
If you don't know this before reading this article, you won't simply use mongodb. Stamp here
1. Install mongodb dependency, here we install v2.2.33, if we've encountered it beforeDb.collectionIs not function is really just a mongodb library version issue (desktop creation of fml files)
My project file name is fml
C:\Users\admin\Desktop\fml> ...
Posted by fredi_bieging on Thu, 02 Jul 2020 07:53:41 -0700
Construction of koa2 view layer for Js full stack development
koa2 view layer construction
Next to the previous one koa2 routing and mvc building in Js full stack development Let's continue to learn about koa2. In the previous article, we split the project into route, controller and service layers according to the mvc architecture, but the view layer and control ...
Posted by ShugNorris on Sun, 28 Jun 2020 19:06:29 -0700
Insight into details! react 16.8.6 source code Analysis-1 error reporting and warning
preface
As a front-end page and demand shredder, it can achieve limited improvement by repeating the same business requirements in daily work. In order to jump out of this mountain and open up a new vision, I suggest you read the source code of the top open source library on the market. This is a grea ...
Posted by SBro on Sun, 21 Jun 2020 20:12:41 -0700
Push system of message (e-mail, SMS, websocket, app) based on nest and redis
system function
summary
In order to avoid redundant code, the function of message push is taken as an independent platform. Each subsystem generates tasks through common RESTful interface or message (kafka).Push function can be email, SMS, WebSocket or App. Tasks can be executed immediately or regularly. In order to meet the function of multip ...
Posted by rarebit on Sun, 21 Jun 2020 01:35:41 -0700
Construction of appium automatic test environment
1. Installation Node.js
Reason: Appium is implemented with nodejs, so node is interpreter
Download address: https://nodejs.org/en/download/releases/
Be careful Node.js Compatible with the version of Appium, you can check: https://github.com/appium/appium/releases
After installation, open cmd to check ...
Posted by tomash on Wed, 17 Jun 2020 00:53:05 -0700
week11_day02_Vue project 2
1.2 re create project: from which step
Vue init webpack project name
1.3 copy item: do not copy directly
Copy except nodes_ Modules, files other than
After copying, cnpm install
1.4 different contents
No problem,
npm run dev can be started
1.5 press Ctrl + c to close after startup
You can't access it ht ...
Posted by galvin on Tue, 16 Jun 2020 23:57:45 -0700