新建vue.config.js module.exports = { css: { loaderOptions: { sass: { // 全局引入变量和 mixin additionalData: ` @import "@/assets/scss/variable.scss"; @import " ...
分类:
Web程序 时间:
2021-06-06 19:40:33
阅读次数:
0
ES模块的导入 通过exports {num,function} 这个是导出变量或者是函数 ES导入模块 通过import {num,function} from 'aaa.js' 这个是模块的导入 ##这导入导出很固定,导入导出的名字必须一样 还有一种是通过exports default 这种是不 ...
分类:
其他好文 时间:
2021-06-04 19:29:21
阅读次数:
0
方法一: 在 package.json 中添加 --open 方法二: 在 vue.config.js 中,devServer 添加加 open:true ,没有vue.config.js,自己创建一个 module.exports = { devServer: { open: true } } ...
分类:
其他好文 时间:
2021-06-03 18:18:31
阅读次数:
0
1、使用的基于下面这个链接的示例: https://docs.edgexfoundry.org/1.2/examples/Ch-ExamplesAddingModbusDevice/ 这个示例没有跑通,主要卡在这里的讲解配置文件和下载的版本对应不上,经过两天的摸索,使用如下方式实现 2、使用下面co ...
分类:
数据库 时间:
2021-06-02 11:26:47
阅读次数:
0
//此时是等价的 exports.name = 'xxx' module.exports.sex = '男' //此时把module.export指向的对象改变,以module.exports为准 module.exports = { id:'1', girlfriend:{ name:'yyy' ...
分类:
其他好文 时间:
2021-05-24 12:21:09
阅读次数:
0
错误如下: mount: wrong fs type, bad option, bad superblock on 192.168.1.7:data/nfsdir2, missing codepage or helper program, or other error (for several fi ...
分类:
其他好文 时间:
2021-05-24 06:40:25
阅读次数:
0
gitlab使用URL导入远程仓库报错Import url is blocked: Only allowed ports are 80,443, and any over 1024 报错内容为Import url is blocked: Only allowed ports are 80,443, ...
分类:
Web程序 时间:
2021-05-24 04:34:30
阅读次数:
0
官网下载Jenkins https://www.jenkins.io/zh/download/ 构建jenkins镜像 # docker build -t jenkins:2.277.3 . from ubuntu:latest run sed -i 's/ports.ubuntu.com/mirr ...
分类:
其他好文 时间:
2021-05-04 16:25:44
阅读次数:
0
开发环境安装 安装软件有三种方式: rpm 解压缩 yum在线安装。 JDK安装(rpm) rpm安装命令:rpm -ivh xxx JDK是我们开发java程序必要的环境 步骤: 下载JDK rpm 去oralce官方下载https://www.oracle.com 安装与卸载Java #检测当前 ...
分类:
系统相关 时间:
2021-05-04 15:17:12
阅读次数:
0
SQL Server “RESTORE FILELISTONLY” Resultset Dead-end: SELECT INTO is nice because you don't have to define the table columns but it doesn't support EX ...
分类:
数据库 时间:
2021-04-29 11:53:00
阅读次数:
0