先批量注册组件指令,新建directives/index.js文件 import copy from './copy' const directives = { copy } const install = function (Vue) { Object.keys(directives).forEa ...
分类:
其他好文 时间:
2020-12-21 11:47:16
阅读次数:
0
一、安装supervisor yum install -y epel-release yum install -y supervisor systemctl start supervisord systemctl enable supervisord 二、使用supervisor管理进程 cat > ...
分类:
系统相关 时间:
2020-12-21 11:05:54
阅读次数:
0
1.错误zlib.h compress.c:14:58: fatal error: zlib.h: No such file or directory compilation terminated. 解决:sudo apt-get install zlib1g-dev 2.错误bison make[ ...
分类:
系统相关 时间:
2020-12-21 11:05:21
阅读次数:
0
Vue——mac环境下报错vue-cli-service: command not found 话不多说,直接讲方法,在终端输入: sudo rm -rf node_modules package-lock.json && npm install ...
分类:
其他好文 时间:
2020-12-21 11:04:05
阅读次数:
0
新建文件夹,cmd npm i -g @vue/cli-init //全局环境 vue/cli vue init nuxt/starter project // vue初始化,创建项目 cd project //切换到项目下 npm install / yarn 安依赖 npm run dev / ...
分类:
Web程序 时间:
2020-12-19 13:37:44
阅读次数:
6
1、我们在生产环境中我们需要对服务器系统配置相关优化参数,以下为Centos 7系统相关常用软件安装以及系统参数配置 setenforce 0 sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config sed -i 's/ ...
分类:
系统相关 时间:
2020-12-19 13:21:26
阅读次数:
2
pip修改为国内源: windows环境: 1. windows不存在该目录,在当前用户目录下创建pip.ini 2. pip.ini路径为:C:\Users\bin\pip\pip.ini 3. pip.ini文件内容为: [global] index-url = http://mirrors.a ...
分类:
其他好文 时间:
2020-12-19 13:01:06
阅读次数:
2
Linux下安装Python3.9.0 安装依赖环境 yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel ...
分类:
编程语言 时间:
2020-12-19 12:37:22
阅读次数:
1
一 . 安装 在命令行中执行: 使用npm或者cnpm安装 npm install animate.css --save 或 cnpm install animate.css --save 使用yarn安装 yarn add animate.css 二. 引入 在main.js全局引入 import ...
分类:
Web程序 时间:
2020-12-19 12:10:47
阅读次数:
3
参考博客 https://blog.csdn.net/weixin_34119545/article/details/91389878 1.npm install ant-design-vue --save 2.src/man.js 引入 import Antd from 'ant-design-v ...
分类:
其他好文 时间:
2020-12-19 12:09:54
阅读次数:
1