会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Jx0605
博客园
首页
新随笔
联系
订阅
管理
2024年2月28日
Vue多环境配置
摘要: VUE项目使用.env配置多种环境 本文来源:VUE项目使用.env配置多种环境_.env.prod-CSDN博客 作者:櫆溟-CSDN博客 在Vue项目中,可以使用.env文件配置全局环境变量,就如同SpringBoot项目的application文件一样 第一步,创建多个环境配置文件 .env文
阅读全文
posted @ 2024-02-28 09:26 RealityAndLife
阅读(479)
评论(0)
推荐(0)
2023年11月30日
Uniapp导入uView组件
摘要: npm导入组件 npm install uview-ui@2.0.36 后面跟上自己的版本 或者 npm install uview-ui //检查 console.log(uni.$u.config.v);可以查看自己是否导入成功 【main.js】import uView from 'uview
阅读全文
posted @ 2023-11-30 15:10 RealityAndLife
阅读(193)
评论(0)
推荐(0)
2023年10月17日
vue3中监听滚动条事件
摘要: import { onMounted, onUnmounted, reactive } from 'vue' const data=reactive({ oldScrollTop:0, }); const scrolling=()=>{ // 滚动条距文档顶部的距离 let scrollTop =w
阅读全文
posted @ 2023-10-17 18:23 RealityAndLife
阅读(935)
评论(0)
推荐(0)
2023年8月7日
post前台传参和后台接收参数
摘要: import com.fasterxml.jackson.databind.JsonNode; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annot
阅读全文
posted @ 2023-08-07 17:08 RealityAndLife
阅读(1527)
评论(1)
推荐(0)
2023年8月5日
Pinia - 构建用户仓库 和 持久化
摘要: 官方文档:https://prazdevs.github.io/pinia-plugin-persistedstate/zh/ 安装插件 pinia-plugin-persistedstate pnpm add pinia-plugin-persistedstate -D 使用 main.js配置
阅读全文
posted @ 2023-08-05 10:28 RealityAndLife
阅读(110)
评论(0)
推荐(0)
VueRouter4 路由
摘要: import { createRouter, createWebHistory } from 'vue-router' // createRouter 创建路由实例 // 配置 history 模式 // 1. history模式:createWebHistory 地址栏不带 # // 2. has
阅读全文
posted @ 2023-08-05 09:35 RealityAndLife
阅读(47)
评论(0)
推荐(0)
2023年8月4日
我的第一篇博客
摘要:
hello boke
阅读全文
posted @ 2023-08-04 11:07 RealityAndLife
阅读(6)
评论(0)
推荐(0)
公告