随笔分类 - Vue
Vue
摘要:jimmy@MacBook-Pro ~ % brew -v Homebrew 4.0.15-84-g9d5b017 Homebrew/homebrew-core (git revision c04886e1f63; last commit 2023-04-27) Homebrew/homebrew-
阅读全文
摘要:推荐cmd命令行创建:https://www.cnblogs.com/vipsoft/p/18223770 实际使用,直接下框架代码改项目 安装 Nodejs 下载:https://nodejs.org/en/download/prebuilt-installer 更新源 npm config se
阅读全文
摘要:这个错误通常是由于 npm 缓存或者依赖关系问题导致的。您可以尝试清除 npm 缓存并重新安装依赖来 解决这个问题。具体操作可以参考以下步骤: 清除 npm 缓存:运行命令 npm cache clean --force 删除 node_modules 目录 和 package-lock.json
阅读全文
摘要:/ [33/49] Installing lodash@^4.17.14[vue-loader-v16@npm:vue-loader@^16.1.0] optional install error: Error: Unsupported URL Type: npm:vue-loader@^16.1.
阅读全文
摘要:ERROR Failed to compile with 1 error 09:43:54 error in ./node_modules/@intlify/core-base/dist/core-base.cjs Module parse failed: Unexpected token (135
阅读全文
摘要:换华为的,否则会出问题:cnpm confg set registry https://mirrors.huaweicloud.com/repository/npm/ npm ERR! code CERT_HAS_EXPIRED npm ERR! errno CERT_HAS_EXPIRED npm
阅读全文
摘要:index.wxml <canvas type="2d" id="canvas" bindtouchmove="move" bindtouchstart="start" binderror="error" style="width:{{width}}px;height:{{height}}px;">
阅读全文
摘要:Vue3+vite+ts 没找到类似的解决方案 没有使用 package.json 进行配置 ,改配置时不需要重新打包 Vue 多环境配置 package.json settings.js,并将其添加到 public/index.html 中 <!DOCTYPE html> <html> <head
阅读全文
摘要:SpringBoot 接口输出文件流 & Vue 下载文件流,获取 Header 中的文件名 为什么浏览器中有些文件点击后是预览,有些是下载:https://www.cnblogs.com/vipsoft/p/18267174 Spring Boot 接口返回文件流 :https://www.cnb
阅读全文
摘要:ERROR Failed to compile with 1 error TypeError: compilation.templatesPlugin is not a function - SetVarMainTemplatePlugin.js:17 SetVarMainTemplatePlugi
阅读全文
摘要:在Nginx配置文件nginx.conf中加入如下配置。(index.html根据实际页面配置) 增加:try_files $uri $uri/ /index.html; #解决页面刷新404问题 server { listen 8080; server_name localhost; locati
阅读全文
摘要:npm set registry https://registry.npm.taobao.org npm set disturl https://npm.taobao.org/dist npm cache clean --forcenpm i -g cnpm --registry=https://r
阅读全文
摘要:先到 https://www.u.tools/ 下载 uTools ,里面有好多插件, 下载安装后,打开uTools工具,搜索“内网穿透” 直接支持https,对于有https要求的,非常方便 点右边的图标,或者直接搜索 安装好后,到已安装里选择打开
阅读全文
摘要:源码下载地址:https://github.com/vuejs/vue-devtools Make sure you are using Node 6+ and NPM 3+ Clone this repo cd vue-devtools the newly created folder run y
阅读全文
摘要:查询的时候,URL地址会变成 his/list/advice?pageNo=1&pageSize=10&status=0&date[]=2019-11-26&date[]=2019-11-27 不符合URL规范 1.日期转字符串 2.数组转字符串 qs.stringify 注意:v-model="q
阅读全文
摘要:Ant Design Pro Vue 打包发布到Tomcat后,刷新报错404解决方法 在应用下面加 WEB-INF 建 web.xml 内容如下 <?xml version="1.0" encoding="ISO-8859-1"?> <web-app xmlns="http://java.sun.
阅读全文
摘要:由于Node.js 版本太低了, 使用最新版用 Node.js 以下解决方法来源于网络 npm ERR! Windows_NT 6.3.9600 npm ERR! argv "C:\\Program Files (x86)\\nodejs\\\\node.exe" "C:\\Program File
阅读全文
浙公网安备 33010602011771号