E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
exports
Invalid options in vue.config.js: "baseUrl" is not allowed
vue项目module.
exports
={baseUrl:process.env.NODE_ENV==='production'?'.
伴歌知行
·
2023-11-23 16:20
伪分布式系列 - 第三篇 - spark-2.4.3环境搭建on hadoop3.2.0
启动测试基础环境搭建基于前面的文章,hadoop已经搭建好,下面我们将进行sparkonyarn搭建下载并配置scala,我们选择scala-2.12.8/这个版本即可,下载解压scala即可配置环境#scala
exportS
CALA_HOME
rolin-刘瑞
·
2023-11-23 15:22
spark
大数据生态搭建系列
hadoop
spark
Apache seatunnel集群部署
跳转到安装目录cd/opt/soft/seatunnel1.设置环境变量
exportS
EATUNNEL_HOME=/opt/soft/seatunnelexportPATH=$PATH:$SEATUNNEL_HOME
小灰灰__
·
2023-11-23 14:13
apache
linux
运维
axios使用问题
中导入importaxiosfrom'axios'准备:可以在devServer中配置解决跨域问题,配到服务器时,需要配置对应的nginx,不然会出现404问题//vue.config.jsmodule.
exports
九州白
·
2023-11-23 06:33
前端
js
nginx
vue.js
html
PM2用Cluster Mode,不用修改代码即可提升Node.js项目性能!
解决方案法一:命令启动#启动多个node.js项目进程(进程数量=cpu核数量)pm2startapp.js-i0法二:配置文件启动//1、配置文件(processes.json),设置如下module.
exports
LearnAnything
·
2023-11-23 05:43
多个history模式vue项目的nginx配置
1.修改路由配置constcreateRouter=()=>newRouter({mode:'history',routes})2.修改publicPath(vue.config.js)module.
exports
小白正在搬砖
·
2023-11-22 18:10
nginx
vue.js
vue-cli3 配置全局scss变量
1.找到vue.config.js文件,如果没有的话,则自己在根目录新建一个即可2.在文件内编写如下代码:module.
exports
={css:{loaderOptions:{sass:{data:`
什么都不知道_
·
2023-11-22 15:43
vue
css
scss
css
vue.js
vue 如何引入全局scss变量
如何引入全局scss变量1.新建一个全局scss文件variables.scss$common-color:#ff233c;2.在vue.config.js中配置module.
exports
={devServer
小橙几
·
2023-11-22 15:10
bug与解决方案
vue
sass
Vue 中实现全局引入 scss 变量
目录结构src│App.vue│main.js│├─assets│└─styles│index.scss│variables.scss配置//vue.config.jsmodule.
exports
={/
imtanqin
·
2023-11-22 15:38
Vue
vue.js
scss
javascript
vue配置全局使用scss的变量和函数
sass-resources-loadernpmisass-resources-loader-D二、在vue.config.js中添加配置mixin.scss为需要全局访问的装有变量和函数的文件module.
exports
朽木自雕xmzd
·
2023-11-22 15:36
前端
#
vue
vue
scss
【vue】vue-cli3配置scss全局变量
package.json中对应的版本号是:"@vue/cli-service":"3.5.3"、"sass-loader":"^7.1.0"1.配置在项目根目录下的vue.config.js中配置module.
exports
向着光芒的女孩
·
2023-11-22 15:04
CSS
vue
解决方案
scss全局变量
九、Apache Dubbo 3 协议解析(三)Dubbo协议解析入口讲解
org.apache.dubbo.config.bootstrap.DubboBootstrap#startorg.apache.dubbo.config.bootstrap.DubboBootstrap#
exportS
ervicesorg.apache.dubbo.config.ServiceConfig
焦虑的二狗
·
2023-11-22 08:02
Dubbo
java
spring
vue项目不用重新打包即可以修改项目ip
dev.env.js配置文件引入外部变量node中使用CommonJS规范引入导出static文件下新建host文件static为暴露到外包的静态资源文件夹/static/host/下的dev.jsmodule.
exports
九霄123
·
2023-11-22 05:05
vue
vue.js
前端
vue
Linux服务器挂载另一台服务器的文件夹(mount)
远程服务器需要在/etc/
exports
文件中添加可供访问的目录,并给予相应的权限。例:先创建一个/data文件,然后配置如下:/
不如喫茶去
·
2023-11-22 03:19
linux
服务器
linux
运维
mount
umount
处理html
path');constwebpack=require('webpack');constHtmlWebpackPlugin=require('html-webpack-plugin');module.
exports
visitor009
·
2023-11-21 22:56
nextjs12支持less
npminstallnext-plugin-antd-less2)在next.config.js中加配置constwithAntdLess=require('next-plugin-antd-less');module.
exports
qq_43436008
·
2023-11-21 15:38
less
javascript
前端
vue后台管理系统打包上线到node
constpath=require('path')//定义resolve方法,把相对路径转换成绝对路径constresolve=dir=>path.join(__dirname,dir)module.
exports
uu盘
·
2023-11-21 15:15
vue
vue.js
javascript
前端
Spark读取mysql数据插入Hive表中
hive-size文件分发到每台机器spark配置文件下,避免待会找不到hive数据库修改spark的配置文件,conf目录下的spark-env.shexportJAVA_HOME=/opt/soft/jdk
exportS
PARK_MASTER_HOST
JAVA百练成神
·
2023-11-21 10:01
大数据
hive
spark
mysql
warning C4251
c++-WarningC4251whenbuildingaDLLthat
exports
aclasscontaininganATL::CStringmember-StackOverflow
地摊书贩
·
2023-11-21 04:22
c++
Webpack打包路径问题
module.
exports
={dev:{//PathsassetsSubDirectory:'static',assetsPublicPath:'./',....
thinshootout
·
2023-11-21 03:30
记一次FreeRTOS移植到STM32f103遇到的问题
FreeRTOSConfig.h文件中加入以下代码#definevPortSVCHandlerSVC_Handler#definexPortPendSVHandlerPendSV_Handler#defin
exPortS
ysTickHand
xiaomei1117
·
2023-11-20 22:47
stm32
单片机
postcss-px-to-viewport实现单独页面效果
yarnaddhttps://github.com/evrone/postcss-px-to-viewport--save-dev二、配置在根目录下,添加postcss.config.js文件,配置内容如下module.
exports
_大龄
·
2023-11-20 17:20
配置相关
postcss
前端
javascript
vue全局配置scss
在vue.config.js中配置:const{defineConfig}=require('@vue/cli-service')module.
exports
=defineConfig({transpileDependencies
码上开发
·
2023-11-20 16:39
scss
前端
css
vue vite webpack全局scss样式文件
ts,也要用js后缀,感觉ts只作用于src里面),再配置一下就行插件下载方法npminstallsass-resources-loaderwebpack版,vue.config.js里module.
exports
前端菜鸟丶Ndie
·
2023-11-20 16:37
vue.js
javascript
前端
sass
vue3 webpack全局scss
module.
exports
={chainWebpack:config=>{constoneOfsMap=config.module.rule('scss').oneOfs.storeoneOfsMap.forEach
lgldl
·
2023-11-20 16:36
vue
webpack
vscode
vue
vue-cli3
webpack配置全局scss
assets/styles/index.scss$mainWidth:1280px;$red:redsrc/views/a.vue.aaa{color:$red;}vue.config.jsmodule.
exports
不做标题党!
·
2023-11-20 16:04
后台管理系统
vue项目中常用操作
vue.js
webpack
scss
基于vue-cli4优化webpack打包速度
pnpmispeed-measure-webpack-plugin-D在vue.config.js配置使用插件constSpeedMeasurePlugin=require("speed-measure-webpack-plugin");module.
exports
风云琪文
·
2023-11-20 14:29
技术
vue.js
webpack
javascript
webpack 打包速度优化之dll hard-source-webpack-plugin
直接上代码:constHardSourceWebpackPlugin=require('hard-source-webpack-plugin');module.
exports
={ //...... plugins
qq_35661140
·
2023-11-20 14:56
linux的9080端口被占用,MacOS中80端口被占用解决方法
端口作静态服务器时,启动报错如下:#events.js:160thrower;//Unhandled‘error’event^Error:listenEADDRINUSE0.0.0.0:80atObject.
exports
weixin_39596720
·
2023-11-20 05:42
linux的9080端口被占用
module.
exports
和
exports
在nodejs中,导出一个模块,经常要用到
exports
,用法看过几种module.
exports
=
exports
=fun;
exports
.fun=fun;module.
exports
.fun=fun;
土豪码农
·
2023-11-20 03:39
vue项目使用eslint和prettier格式化项目
配置文件遵循commonJS的导出规则,所导出的对象就是ESLint的配置对象//文档:https://eslint.bootcss.com/docs/user-guide/configuringmodule.
exports
南风number
·
2023-11-20 02:15
前端项目
vue.js
javascript
前端
eslint
prettier
node-redis 存取字符串、哈希、列表、集合、有序集合
/middlewares/redis');module.
exports
=function()
我的昵称好听吗
·
2023-11-20 01:38
vue项目打包及配置跨域
一、配置proxy跨域module.
exports
={devServer:{open:true,//自动启动浏览器host:'localhost',//localhostport:8080,//端口号hotOnly
共创splendid--与您携手
·
2023-11-19 22:15
JavaScript
webpack
跨域
vue.js
javascript
前端
C42092-Sherry Day04 JAPAN 2021 BOUNCING BACK
Afterthecovid-19,Japen'seconomyfinallybouncedbackinthethirdquarterlastyearfortheincreasein
exports
.Actually
c6ff7be97e88
·
2023-11-19 15:31
07.webpack的性能优化 -- 产出代码
使用内存更小实现功能小图片的base64编码提取公共代码bundle加hashIngorePlugin懒加载使用CDN使用productionScopeHosting1.使用productionmodule.
exports
周星星日记
·
2023-11-19 11:30
webpack
webpack
前端
node.js
04.webpack中css的压缩和抽离
mini-css-extract-plugin插件,替代style-loaderconstMiniCssExtractPlugin=require('mini-css-extract-plugin')module.
exports
周星星日记
·
2023-11-19 11:30
webpack
webpack
css
前端
05.webpack中的splitChunks抽离公共代码
/paths')module.
exports
={entry:{index:path.join(srcPath,'index.js'),other:path.j
周星星日记
·
2023-11-19 11:30
webpack
webpack
前端
node.js
06.webpack性能优化--构建速度
babel-loaderhappyPackIgnorePluginparalleUglifyPluginnoParse自动刷新1happypack多进程打包js单线程,开启多进程打包提高构建速度(特别是多核CPU)constHappyPack=require('happypack')module.
exports
周星星日记
·
2023-11-19 11:08
webpack
webpack
前端
node.js
eslint使用指南
基本使用优先安装插件目录下新建.eslintrc.jsmodule.
exports
={root:true,env:{node:true,},extends:["plugin:vue/vue3-essential
⎛⎝陈嗯嗯⎠⎞
·
2023-11-19 08:00
vuejs
vue.js
前端
javascript
webpack5 添加babel-loader 添加浏览器ie11兼容打包
webpack.conf.jsconstpath=require('path')constHtmlWebpackPlugin=require('html-webpack-plugin');module.
exports
qq_41167198
·
2023-11-19 06:51
前端
javascript
开发语言
access denied by server while mounting
在开发板上挂在nfs服务器的时候,遇到accessdeniedbyserverwhilemounting这个错误,可能的原因:开发板的ip地址不允许挂载到NFS服务器上解决办法:在/etc/
exports
平凡一码农
·
2023-11-19 02:23
服务器
linux
运维
[imx8mpevk] pcie endpoint test
endpoint/pci-test-howto.htmlhttps://software-dl.ti.com/jacinto7/esd/processor-sdk-linux-jacinto7/latest/
exports
book_rain
·
2023-11-19 00:57
imx8mpevk
Vue项目
npmrunserve初次打开的是App.vue页面修改服务器端口vue.config.jsconst{defineConfig}=require('@vue/cli-service')module.
exports
峙峙峙
·
2023-11-18 17:18
vue.js
前端
javascript
CommonJs与ES6的导入导出细节
CommonJS运行时加载,同步加载;模块被多次引入时,会缓存,最终只加载(运行)一次;有
exports
与module.
exports
两种导出方式,最终
别问我也不会
·
2023-11-17 16:31
js高级
node
es6
javascript
前端
vue项目中 commonJS转es6
babel/preset-env@vue/cli-plugin-babel/preset@babel/plugin-transform-runtime配置项目文件vue.config.jsmodule.
exports
겐호 3
·
2023-11-17 16:18
前端
vue.js
es6
javascript
xlsx 导出导入excel,xlsx-style 修改excel样式
savenpminstallxlsx-style--save还需要下载一个浏览器文件下载依赖npminstallfile--save引入xlsx-style会产生报错,需要在vue.config.js配置下vue.config.jsmodule.
exports
唐十八_wei
·
2023-11-17 16:24
javascript
vue.js
前端
代理服务器配置
在Vue项目的根目录下创建一个vue.config.js文件,并添加以下代码:module.
exports
={devServer:{proxy:{'/':{target:'目标服务器地址',changeOrigin
小松鼠敲代码
·
2023-11-17 10:57
前端
linux
javascript
Eslint 超简单入门教程
//.eslintrc.jsmodule.
exports
={"extends":"airbnb","rules":{"semi":[2,"never"],"no-console":0,"comma-dangle
lala_shine
·
2023-11-17 07:53
javascript
eslint
Electron-Builder打包静态文件
如何设置这里需要在vue.config.js中添加//vue.config.jsmodule.
exports
={elect
暮影重生
·
2023-11-17 06:19
electron-vue
javascript
electron
k8s使用PVC挂载mysql数据目录
nfs-serveraptinstallnfs-server2.创建共享目录mkdir/nfs_data3.修改nfs-server共享设置echo"/nfs_data*(rw,sync,no_root_squash)">>/etc/
exports
ButFlyzzZ
·
2023-11-17 05:56
Kubernetes
docker
kubernetes
uid
数据卷
mysql容器
上一页
11
12
13
14
15
16
17
18
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他