logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

创建Vue项目,出现Error: command failed: npm install --loglevel error --legacy-peer-deps问题的解决方法

创建Vue项目,出现 Error: command failed: npm install --loglevel error --legacy-peer-deps

文章图片
#vue.js#npm
failed to load config from D\...\...vite.config.js错误

出现 failed to load config from D\...\...vite.config.js 错误,通常意味着 Vite 无法正确加载配置文件。这可能是由于配置文件的路径、语法错误或依赖项缺失导致的问题

文章图片
#javascript#vue.js#前端
uniapp中uni.scss如何引入页面内或生效

uniapp中uni.scss不需要引用自动会生效,前提是安装了scss.配置自定义SCSS 变量未生效,错误可能是因为 SCSS 变量未正确加载为全局变量。如果上述方式都不行,且你在uniapp中下载scss插件并安装,建议项目关闭后重新启动即可生效,不需要额外引入和配置。

文章图片
#uni-app#scss#前端
组件导入失败-Vue warn :Failed to resolve component: xxxx If this is a native custom element...

组件引入失败。Failed to resolve component: xxx If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement. at

文章图片
#vue.js#前端
‘vite‘ 不是内部或外部命令,也不是可运行的程序 或批处理文件。

全局安装vite解决报错:'vite' 不是内部或外部命令,也不是可运行的程序或批处理文件

文章图片
#vue.js
百度通用文本翻译api使用

vue中使用百度通用文本翻译API实现翻译功能,不涉及全网页翻译

文章图片
#vue.js#npm#ajax
到底了