由于项目需求要使用jquery,结果各种引用都不济于事。 最后在网上找到了答案,现把它记录一下,给有需要者。 首先下载 jquery。 cnpm install jquery --save-dev 方案一: 然后在main.js中引入jquery。 import Vue from 'vue' imp ...
分类:
Web程序 时间:
2021-03-17 14:25:20
阅读次数:
0
集群版本V1.18.2 root@k8s:~# kubectl get nodes NAME STATUS ROLES AGE VERSION k8s Ready master 20d v1.18.2 node1 Ready worker 20d v1.18.2 node2 Ready worker ...
分类:
Web程序 时间:
2021-03-17 14:01:11
阅读次数:
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
安装 mini-css-extract-plugin 抽离 css 内容 npm install mini-css-extract-plugin -D 压缩 css 代码 npm install optimize-css-assets-webpack-plugin -D 压缩js npm insta ...
分类:
Web程序 时间:
2021-03-16 14:04:04
阅读次数:
0
1 mvn compile 编译源代码 2 mvn clean 清理maven项目 3 mvn install -Dmaven.test.skip=true 发布项目到本地仓库,后面参数表示跳过单元测试 4 mvn install -Dmaven.test.skip=true 发布项目到远程仓库。 ...
分类:
其他好文 时间:
2021-03-16 13:59:00
阅读次数:
0
collect_time.sh脚本需求: 遍历/dz目录下所有以A开头的文件夹,读取该文件夹下的time.log的首行内容,依次写入脚本的路径参数/lj/times.txt中。 编写collect_time.sh: #!/bin/bash file="time.log" readDir="/dz" ...
分类:
系统相关 时间:
2021-03-16 13:55:14
阅读次数:
0
zsh + oh my zsh 使用 切换bash 切换bash chsh -s /bin/bash 切换zsh chsh -s /bin/zsh 安装 oh my zsh ! 插件地址 https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins 主 ...
分类:
其他好文 时间:
2021-03-16 13:54:23
阅读次数:
0
nginx功能:反向代理、负载均衡,动静分离,安装nginx方式参考:https://www.runoob.com/linux/nginx-install-setup.html 一、nginx配置负载均衡提供了以下几种分配策略: 1.轮询(默认) 每个请求按照时间顺序逐一分配到不同的后端服务器,如果 ...
分类:
其他好文 时间:
2021-03-16 13:43:20
阅读次数:
0
方式一:软件仓库安装 此方法不用自己去配置交叉编译工具链 1.查看本地仓库有支持哪些版本哪些 输入命令: apt-cache search aarch64 2.下载安装 gcc-8-aarch64-linux-gnu 输入:sudo apt-get install gcc-8-aarch64-lin ...
分类:
系统相关 时间:
2021-03-16 13:38:58
阅读次数:
0
```python #先安装 pip install django-debug-toolbar #在settings.py里面设置 #在本机调试就写本机的IP地址 INTERNAL_IPS = ['127.0.0.1', ] #要引入jquery,自己在bootcdn上面选一个合适的 DEBUG_T ...
分类:
其他好文 时间:
2021-03-16 11:41:15
阅读次数:
0