webpack.config.js const { resolve } = require('path'); const HtmlWebpackPlugin = require('html-webpack-plugin'); module.exports = { entry: './src/js/i ...
分类:
Web程序 时间:
2020-06-05 00:58:26
阅读次数:
83
开发服务器 devServer:用来自动化(自动编译,自动打开浏览器,自动刷新浏览器等) 特点:只会在内存中编译打包,不会有任何输出 指令:npx webpack-dev-server 安装 webpack-dev-server npm install webpack-dev-server -D c ...
分类:
其他好文 时间:
2020-06-05 00:40:08
阅读次数:
64
因为大部分情况下都是使用hash模式,因此很少关心History的使用。 最近再次意识熟悉后端才能全面理解项目,于是开始一些相关性研究。下面是History后端服务代码,使用了express框架。使用了ejs模板引擎解析HTML文件。 const http = require('http'); co ...
分类:
其他好文 时间:
2020-06-04 20:09:49
阅读次数:
159
JCB Electronic Service Tool Diagnostic Interface is used for fast and effective fault finding, check maintenance standards, see if the machine has bee ...
分类:
其他好文 时间:
2020-06-04 20:00:49
阅读次数:
70
url 类比json 记忆 url.parse 将url字符串转成对象url.format将url 对象转字符串 const url=require('url') let urlString='https:47.95.207.1:3000/fcj/recommend/hot/hehe?us=123& ...
分类:
Web程序 时间:
2020-06-04 13:28:05
阅读次数:
92
Redis作为一款开源的、高性能的键值对存储。支持主从复制,并通过哨兵模式(sentinel)提高了高可用性,以及集群(Redis Cluster)模式保证了高并发性。 一、redis主从 Redis本身提供数据持久化的功能(两种方式:RDB和AOF),把数据保存到磁盘上,保证了即使服务器重启的情况 ...
分类:
其他好文 时间:
2020-06-04 01:35:53
阅读次数:
56
简介 Express是基于NodeJS开发的Web框架。 # npm i -S express # 创建应用对象 const express = require('express') const app = express() # 注册各种中间件 app.use(...) app.use(...) ...
分类:
其他好文 时间:
2020-06-03 20:37:35
阅读次数:
110
@{ Layout = null; } <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Login</title> <link href="~/css/fonts/Login.css" rel="styles ...
分类:
其他好文 时间:
2020-06-03 20:02:58
阅读次数:
62
网盘推荐 由于百度网盘非会员用户限速,因此有必要找一些免费的不限速云盘来代替百度云盘。 其实,免费的云盘还是有很多的,例如:奶牛快传网盘、坚果云网盘、微云、天翼云盘、和彩云、One Driver、Google Drive。但是,这些云盘的容量都很小或者用起来不方便。 下面我给大家推荐几款比较好用的网 ...
分类:
其他好文 时间:
2020-06-03 18:49:53
阅读次数:
80
Ververica was founded by the original creators of Apache Flink®, and we’ve spent a long time solving problems in the stream processing space. In this ...
分类:
其他好文 时间:
2020-06-03 17:30:51
阅读次数:
66