## 1. 下载node [node官网](https://nodejs.org/en/) ## 2. 安装镜像 npm install -g mirror-config-china ## 3. 下载项目git clone https://******.git ## 4. 安装项目依赖 npm i ...
分类:
Web程序 时间:
2021-04-05 12:02:01
阅读次数:
0
前言:本篇是关于playwright与katalon的录制代码风格比对,前者号称宇宙最强,后者据统计全球第二。关于它们的介绍可自行百度,本篇仅从一个小demo看看二者的风格差异。demo操作:打开百度,输入helloworld,选择百度百科里的结果。 playwright风格 在终端输入python ...
分类:
其他好文 时间:
2021-04-02 12:58:33
阅读次数:
0
前提:安装node.js 1、监控工具:# npm install clinic -g 2、压测工具:# npm i autocannon -g 3、使用监控工具启动前端服务:# clinic doctor -- node server.js 4、使用压测工具压测(并发100持续20秒):# aut ...
分类:
Web程序 时间:
2021-03-31 11:53:36
阅读次数:
0
创建db.js 1.安装mysql依赖 //打开终端,输入 npm install mysql 2.导入mysql依赖 var mysql = require('mysql'); 3.创建一个mysql的Connection对象,配置数据库连接信息。 var conntion = mysql.cre ...
分类:
数据库 时间:
2021-03-26 15:15:43
阅读次数:
0
单行 多行 文档 public class HelloWorld { public static void main (String [] args) { //output hello world /* output hello world */ /** * @description hellowo ...
分类:
编程语言 时间:
2021-03-18 14:20:10
阅读次数:
0
原文:https://code.visualstudio.com/docs/nodejs/reactjs-tutorial To debug the client side React code, we'll need to install the Debugger for Chrome exten ...
分类:
其他好文 时间:
2021-03-16 14:09:27
阅读次数:
0
命令提示符 启动:win+R 输入cmd/command 切换盘符:盘符名称+冒号 C:\Users\DELL>D: D:\> 进入文件夹:cd+空格+文件夹名称 C:\Users\DELL>F: F:\>cd 编程练习 F:\编程练习> 自动选择文件夹: 输入文件夹部分名称(需要确定到单个文件夹, ...
分类:
编程语言 时间:
2021-03-11 20:48:39
阅读次数:
0
这是我遇到的问题,在win7系统下vscoed的Vue的终端调试。 vue-cli是vue的脚手架工具,帮我们快速生成了vue的起步项目,内置一些必备的比如打包工具,比如配置文件等等 地址:https://cli.vuejs.org/zh/ 首先假设我们在此之前的步骤都做好了(Nodejs的安装), ...
分类:
其他好文 时间:
2021-03-11 14:24:01
阅读次数:
0
art-template模板引擎 在命令行工具中使用 npm install art-template 命令进行下载 使用const template = require('art-template')引入模板引擎 告诉模板引擎要拼接的数据和模板在哪 const html = template(‘模 ...
分类:
Web程序 时间:
2021-03-05 12:55:36
阅读次数:
0
1.安装nodejs, node -v 显示版本号安装成功 安装cnpm 修改淘宝镜像源:npm install -g cnpm --registry=https://registry.npm.taobao.org 安装angular:npm install -g @angular/cli 或者 c ...
分类:
其他好文 时间:
2021-03-03 12:28:28
阅读次数:
0