目录 利用nexus搭建npm repository 配置开发环境的registry为我们自己的私有仓库 编写自定义vue组件 将自定义组件作为npm包上传到nexus的repository中 在vue工程中使用使用自己制作的vue组件 nexus搭建npm repository nexus启动(d ...
分类:
Web程序 时间:
2020-06-09 14:33:51
阅读次数:
87
1、在GitHub上新建一个项目 然后你就在GitHub上新建了一个项目。如图我创建了一个wanghui的项目 2、clone到本地 在本地上传的文件夹中,右键 git bash 命令行中输入 $ git clone https://github.com/shijia8023/MyDemo1.git ...
分类:
其他好文 时间:
2020-06-09 14:22:06
阅读次数:
82
1、新建一个目录,存放下载下来的项目,我在D盘新建了一个“datayuan”文件夹,用来存放下载下来的项目 2、进入刚刚新建的文件夹,即进入“datayuan”,点击鼠标右键,选择"Git Bash Here 3、’进行基础配置,作为 git 的基础配置,作用是告诉 git 你是谁,你输入的信息将出 ...
分类:
其他好文 时间:
2020-06-09 12:48:56
阅读次数:
173
转:https://blog.csdn.net/qq_32760017/article/details/83480284 首先Truffle是针对基于以太坊的Solidity语言的一套开发框架。在Mac OS执行truffle init报错: Starting unbox... ? Preparin ...
分类:
其他好文 时间:
2020-06-09 12:38:11
阅读次数:
193
装饰器 为私有属性提供getter和setter方法 原始实现代码: class Employee01: def __init__(self,name,age): self.__name = name self.__age = age def get_age(self): return self._ ...
分类:
编程语言 时间:
2020-06-09 12:37:37
阅读次数:
74
It's not a drop-in replacement, and, in fact, JDOM and DOM can happily coexist. 它并不是一个简单的替代品,实际上JDOM和DOM能够愉快地并存。 dnf is a drop-in replacement for yum ...
分类:
其他好文 时间:
2020-06-09 11:22:51
阅读次数:
76
前面的章节,我们已经把RocketMQ的环境搭建起来了,是一个两主两从的异步集群。接下来,我们就看看怎么去使用RocketMQ,在使用之前,先要在NameServer中创建Topic,我们知道RocketMQ是基于Topic的消息队列,在生产者发送消息的时候,要指定消息的Topic,这个Topic的 ...
分类:
其他好文 时间:
2020-06-09 11:21:24
阅读次数:
75
go mod 为解决go模块间的相互引用,可以将go mod理解成j2ee中的pom文件。 创建mod 默认模块名 go mod init 指定模块名 go mod init <model-name> 引入其他模块 比如说需要引入 gin 模块。 首先需要进入模块所在目录,运行命令: go get ...
分类:
其他好文 时间:
2020-06-09 11:17:02
阅读次数:
69
git 提交时,显示 修改 C:\Users\.gitconfig 文件中标红色字体的内容: [http] sslVerify = false postBuffer = 524288000 lowSpeedLimit = 0 lowSpeedTime = 999999 [user] name = y ...
分类:
其他好文 时间:
2020-06-09 10:04:24
阅读次数:
81
一、mon.py: class Mon: def __init__(self): pass def action(self, content): print('周一要{}'.format(content)) 二、tue.py: class Tue: def __init__(self): pass ...
分类:
其他好文 时间:
2020-06-09 10:02:43
阅读次数:
67