
错误
蒲公英bhf
这个作者很懒,什么都没留下…
展开
-
在vmware中安装了最小化安装 contes,可是查看ip时,运行 ifconfig 命令报错:ifconfig command not found
在vmware中安装了最小化安装 contes,可是查看ip时,运行 ifconfig 命令报错:ifconfig command not found原创 2022-12-05 10:35:34 · 1001 阅读 · 0 评论 -
vue-cli 打包配置问题
vue-cli 打包配置问题问题在使用vue-cli 默认配置进行打包时,编译完成后,打开index.html文件打开是空白的。打开浏览器检查错误信息发现是资源路径错误,加载不了css、js、img。解决配置vue.config.js(没有的话在项目根目录手动创建)const path = require('path')module.exports = { // 基本路径 整个文件夹在哪 publicPath: './', // 输出文件目录 文件夹名 .原创 2020-12-09 17:48:26 · 267 阅读 · 0 评论 -
vue-cli 编译压缩时提示警告 (entrypoint size limit )
问题在使用vue-cli打包编译的时候提示警告:entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.在根目录 vue.config.js中修改配置(没有的话手动创建)module.exports = { configureWebpack: {原创 2020-12-09 16:29:47 · 3234 阅读 · 2 评论