随笔分类 -  Vue

Vue
摘要:CSS 遮罩层,背景渐变 html <!DOCTYPE html> <html> <head> <link rel="stylesheet" href="basic.css"> </head> <body> <div class="masked-element"> <div class="conte 阅读全文
posted @ 2024-06-12 13:44 VipSoft 阅读(45) 评论(0) 推荐(0) 编辑
摘要:目录错误原因解决方案 app.config.globalProperties 用法坑Vue, 多环境配置 https://www.cnblogs.com/vipsoft/p/16696640.html main.js import config from '@/utils/config' //这是对 阅读全文
posted @ 2024-06-11 12:45 VipSoft 阅读(193) 评论(0) 推荐(0) 编辑
摘要:这个错误通常与Node.js的加密模块和OpenSSL版本有关 出现这个错误是因为 node.js V17版本中最近发布的OpenSSL3.0, 而OpenSSL3.0对允许算法和密钥大小增加了严格的限制,可能会对生态系统造成一些影响. js/app.8d066b51.js from Terser 阅读全文
posted @ 2024-06-11 10:42 VipSoft 阅读(107) 评论(0) 推荐(0) 编辑
摘要:根据提示,赋权限,删除文件等 jimmy@MacBook-Pro ~ % brew link node Linking /usr/local/Cellar/node/20.0.0... Error: Could not symlink include/node/common.gypi Target 阅读全文
posted @ 2024-06-09 16:20 VipSoft 阅读(56) 评论(0) 推荐(0) 编辑
摘要:==> Installing dependencies for node: mpdecimal, ca-certificates, openssl@1.1, readline, sqlite, xz, python@3.11, brotli, cmake, c-ares, icu4c, libngh 阅读全文
posted @ 2024-06-03 21:38 VipSoft 阅读(28) 评论(0) 推荐(0) 编辑
摘要:# 替换brew.git: jimmy@MacBook-Pro Library % cd "$(brew --repo)" jimmy@MacBook-Pro Homebrew % git remote set-url origin https://mirrors.aliyun.com/homebr 阅读全文
posted @ 2024-05-31 22:38 VipSoft 阅读(365) 评论(0) 推荐(0) 编辑
摘要:Vue devDependencies 与 dependencies 能别,如何往 项目的node_modules安装组件 概述 devDependencies 用于本地环境开发 只会在开发环境下依赖的模块,生产环境不会被打入包内(通过NODE_ENV=developement或NODE_ENV=p 阅读全文
posted @ 2024-05-31 15:00 VipSoft 阅读(451) 评论(0) 推荐(0) 编辑
摘要:想复制网页上的文字,弹出需要登录等,很烦人。 打开开发者工具 按F12打开 浏览器操作打开 禁用JS 运行命令 按 Ctrl+Shift+P 或者如下图,鼠标点击,调出命令运行窗口 在运行窗口中输入 JavaScript 点击停用,同理,再次点击,开启 鼠标操作 阅读全文
posted @ 2024-05-31 13:55 VipSoft 阅读(184) 评论(0) 推荐(0) 编辑
摘要:前提条件 安装 Nodejs 下载:https://nodejs.org/en/download/prebuilt-installer 切换 npm 源 npm config set registry https://registry.npmmirror.com/ 创建Vue npm create 阅读全文
posted @ 2024-05-31 09:11 VipSoft 阅读(59) 评论(0) 推荐(0) 编辑
摘要:jimmy@MacBook-Pro ~ % brew -v Homebrew 4.0.15-84-g9d5b017 Homebrew/homebrew-core (git revision c04886e1f63; last commit 2023-04-27) Homebrew/homebrew- 阅读全文
posted @ 2024-05-30 21:24 VipSoft 阅读(158) 评论(0) 推荐(0) 编辑
摘要:推荐cmd命令行创建:https://www.cnblogs.com/vipsoft/p/18223770 实际使用,直接下框架代码改项目 安装 Nodejs 下载:https://nodejs.org/en/download/prebuilt-installer 更新源 npm config se 阅读全文
posted @ 2024-05-30 17:17 VipSoft 阅读(42) 评论(0) 推荐(0) 编辑
摘要:这个错误通常是由于 npm 缓存或者依赖关系问题导致的。您可以尝试清除 npm 缓存并重新安装依赖来 解决这个问题。具体操作可以参考以下步骤: 清除 npm 缓存:运行命令 npm cache clean --force 删除 node_modules 目录 和 package-lock.json 阅读全文
posted @ 2024-05-30 10:58 VipSoft 阅读(787) 评论(0) 推荐(0) 编辑
摘要:/ [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. 阅读全文
posted @ 2024-05-30 10:40 VipSoft 阅读(45) 评论(0) 推荐(0) 编辑
摘要: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 阅读全文
posted @ 2024-05-30 10:01 VipSoft 阅读(177) 评论(0) 推荐(0) 编辑
摘要:换华为的,否则会出问题:cnpm confg set registry https://mirrors.huaweicloud.com/repository/npm/ npm ERR! code CERT_HAS_EXPIRED npm ERR! errno CERT_HAS_EXPIRED npm 阅读全文
posted @ 2024-05-29 17:43 VipSoft 阅读(403) 评论(0) 推荐(0) 编辑
摘要:没有使用 package.json 进行配置 ,改配置时不需要重新打包 Vue 多环境配置 package.json settings.js window.environment="dev" window.version = 'v1.0.1' window.settings.dev = { envi 阅读全文
posted @ 2022-09-15 15:10 VipSoft 阅读(253) 评论(0) 推荐(0) 编辑
摘要:SpringBoot 接口输出文件流 & Vue 下载文件流,获取 Header 中的文件名 为什么浏览器中有些文件点击后是预览,有些是下载:https://www.cnblogs.com/vipsoft/p/18267174 Spring Boot 接口返回文件流 :https://www.cnb 阅读全文
posted @ 2022-09-06 17:50 VipSoft 阅读(3127) 评论(0) 推荐(0) 编辑
摘要:ERROR Failed to compile with 1 error TypeError: compilation.templatesPlugin is not a function - SetVarMainTemplatePlugin.js:17 SetVarMainTemplatePlugi 阅读全文
posted @ 2021-09-28 19:38 VipSoft 阅读(1506) 评论(0) 推荐(0) 编辑
摘要:在Nginx配置文件nginx.conf中加入如下配置。(index.html根据实际页面配置) 增加:try_files uriuri/ /index.html; #解决页面刷新404问题 server { listen 8080; server_name localhost; locati 阅读全文
posted @ 2021-07-24 21:33 VipSoft 阅读(2000) 评论(2) 推荐(1) 编辑
摘要: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 阅读全文
posted @ 2021-07-19 23:27 VipSoft 阅读(337) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示