logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

Vue received a Component that was made a reactive object. This can lead to unnecessary performance o

vue3+vite+ts 报错Vue received a Component that was made a reactive object. This canlead to unnecessary performance overhead and should be avoided bymarking the component with `markRaw` or using `shallow

文章图片
#vue.js#前端#javascript
微信小程序miniprogram-computed:计算属性computed和监听器watch存储获取store: mobx-miniprogram、mobx-miniprogram-bindings

微信小程序:miniprogram-computed:计算属性computed和监听器watch;存储获取store: mobx-miniprogram、mobx-miniprogram-bindings

文章图片
#小程序#前端#javascript +1
vue3项目打包后 使用http-server 启动build后的文件包

vue3项目打包后 使用http-server 启动build后的文件包

文章图片
#vue.js#javascript#typescript +1
Vue 3.3 编译宏 vue3.3新增了一些语法糖和宏,包括泛型组件、defineSlots、defineEmits、defineOptions

Vue 3.3新增了一些语法糖和宏,包括泛型组件、defineSlots、defineEmits、defineOptions

文章图片
#vue.js#前端#javascript
父子组件传值warn:Property or method “prop“ is not defined on the instance but referenced during render. Ma

vue.runtime.esm.js:4605 [Vue warn]: Property or method "prop" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for c

文章图片
#javascript#vue.js#前端
Delete `··`eslint 和不尾随;分号

Delete `··`eslint 和不尾随;分号

文章图片
#vue.js#javascript#前端 +2
vue3+ts 报错解决:找不到模块或其相应的类型声明。(Vue 3 can not find module)

3.检查 TypeScript 配置:如果项目中有 tsconfig.json 或 jsconfig.json 文件,确保该文件包含了正确的路径别名或根路径。4.检查 Vue 配置:如果使用了如 webpack 或 Vite 这样的构建工具,确保相关的配置能够正确处理 .vue 文件。1、在当前项目的工作空间下,用 Ctrl + Shift + P (macOS:Cmd + Shift + P)

文章图片
#vue.js#前端#javascript +1
小程序-设置环境变量

这时候,我们就可以使用小程序提供了 wx.getAccountInfoSync() 接口,用来获取当前账号信息,在账号信息中包含着 小程序 当前环境版本。例如:开发环境需要调用开发版的接口地址,生产环境需要正式版的接口地址。在实际开发中,不同的开发环境,调用的接口地址是不一样的。

文章图片
#小程序#javascript
    共 18 条
  • 1
  • 2
  • 请选择