码迷,mamicode.com
首页 >  
搜索关键字:config    ( 25045个结果
Vue-cli3.0添加sass全局样式、mixin配置
一、如果在创建Vue@3.0项目的时候没有选择sass则需要安装 npm install -D sass-loader node-sass 二、创建.scss样式文件 在 src/assets/sass 文件夹下创建 index.scss 文件 三、配置根目录下面vue.config.js: 如果需 ...
分类:其他好文   时间:2021-01-14 10:51:15    阅读次数:0
.net core 中使用Log4net输出日志到Mysql数据库中
.net core 中使用Log4net输出日志到数据库中去 1.使用Nuget安装log4net 和 mysql.data 2.设置log4net 的配置文件 log4net.config 可以设置多个仓库进而插入到数据不同的表中 <?xml version="1.0" encoding="utf ...
分类:数据库   时间:2021-01-14 10:45:12    阅读次数:0
@Configuration使用
前言 @Configuration 用于定义配置类,可替换XML配置文件,被注解的类内部包含一个或多个@Bean注解方法。可以被AnnotationConfigApplicationContext或者AnnotationConfigWebApplicationContext 进行扫描。用于构建bea ...
分类:其他好文   时间:2021-01-14 10:40:59    阅读次数:0
vue利用keep-alive / beforeRouteLeave 前进刷新后退不刷新 ,亲测可用。
在vue中默认router-link进入页面组件都是不缓存的。对于数据不会更新的页面。可以使用keep-alive来缓存以提高性能。 在项目src/router/index.js中。对于需要缓存的路由加meta中加上keepAlive: true 1 export default new Route ...
分类:其他好文   时间:2021-01-14 10:31:16    阅读次数:0
Springboot 注解之 @ImportResource
一、Springboot 配置类官网介绍 Springboot 推荐大家使用 @Configuration 的方式来向 IOC 容器中注册组件,但是之前的 XML 配置方式 Springboot 也是支持的,如果你想使用 XML 的配置方式,则需要使用 @ImportSource 注解来实现 Spr ...
分类:编程语言   时间:2021-01-13 11:33:25    阅读次数:0
git 代理配置
设置当前代理 git config http.proxy http://127.0.0.1:2334 取消当前代理 git config --unset http.proxy 取消全局代理 git config --global --unset http.proxy 设置socks5代理 git c ...
分类:其他好文   时间:2021-01-13 10:51:35    阅读次数:0
Linux 修改 ssh 端口
edit config && add Port 2222 vi /etc/ssh/sshd_config 重启ssh服务 systemctl restart sshd.service 查看端口 sudo netstat -atlunp | grep sshd ...
分类:系统相关   时间:2021-01-13 10:51:14    阅读次数:0
ubuntu18 build opencv4 from source
1 安装依赖 ## Install dependencies sudo apt -y install build-essential checkinstall cmake pkg-config yasm sudo apt -y install git gfortran sudo apt -y ins ...
分类:系统相关   时间:2021-01-13 10:46:58    阅读次数:0
创建和删除windows服务的cmd命令
创建windows服务 新建xx.cmd文件,在文件中添加以下内容 sc create DataUploadServer binPath= "%~dp0%DataUploadServer.exe" @net start DataUploadServer :: @sc config DataUploa ...
分类:Windows程序   时间:2021-01-13 10:45:40    阅读次数:0
Linux ssh_config & sshd_config 配置文件内容说明
1. /etc/ssh/ssh_config配置文件 选项参数 说明 Host * 选项“Host”只对能够匹配后面字串的计算机有效。“*”表示所有的计算机。 ForwardAgent no 设置连接是否经过验证代理(如果存在)转发给远程计算机。 ForwardX11 no 设置X11连接是否被自动 ...
分类:系统相关   时间:2021-01-12 11:27:43    阅读次数:0
25045条   上一页 1 ... 39 40 41 42 43 ... 2505 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!