vue3
确认过眼神cxy
太懒
展开
-
vue vue3开发 vue2和vue3的选择
现在vue新建项目,官方给出的命令是npm create vue@latest。项目默认vue3,他是不支持IE11。原创 2023-10-24 11:09:43 · 306 阅读 · 0 评论 -
vue3 computed 取store值 出现 do not mutate vuex store state outside mutation handlers 错误
明明没有修改store值却有do not mutate vuex store state outside mutation handlers报错。开发中的各种奇怪问题。原创 2022-08-11 09:29:02 · 995 阅读 · 0 评论 -
nuxt3 useFetch 出现 computed value is readonly错误
nuxt3 useFetch 出现 computed value is readonly错误。原创 2022-08-09 11:39:17 · 959 阅读 · 0 评论 -
vue3 项目中 watch 各种不触发
vue3 项目使用中的问题原创 2022-08-09 10:09:40 · 4785 阅读 · 0 评论 -
vue3 composition-api useRoute useRouter 别混淆
useRouter(跳转), useRoute(获取路由参数) vue2.0一样注意区分原创 2022-02-17 15:29:07 · 1231 阅读 · 0 评论 -
vue3 ref dom获取 composition-api
<template> <div> <div ref="aaa"></div> </div></template>export default defineComponent({ setup() { // 代替 this.$refs.aaa const aaa = ref() aaa.value.style = 'color: #fff' return { aaa // 必须注册,不然找不到原创 2022-02-17 15:26:30 · 420 阅读 · 0 评论