会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
左扬(你们的胃叫胃,孤的叫胃PLUS)
读书不觉春已深,一寸光阴一寸金。
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
9
10
11
12
13
14
15
16
17
···
59
下一页
2023年11月17日
Istio从入门到精通——Istio中的概念介绍
摘要: Istio中的概念介绍 一、流量管理 https://istio.io/latest/docs/concepts/traffic-management/ Istio’s traffic routing rules let you easily control the flow of traffic
阅读全文
posted @ 2023-11-17 09:35 左扬
阅读(311)
评论(0)
推荐(0)
2023年11月15日
vuejs3.0 从入门到精通——项目搭建
摘要: 项目搭建 一、环境准备 软件名称 软件版本 node v20.9.0 npm 10.1.0 Windows 10 专业版 22H2 vue 3.3.4 vue/cli 5.0.8 vue-router 4.2.5 vite 4.4.11 vitest 0.34.6 pinia 2.1.7 vue-t
阅读全文
posted @ 2023-11-15 10:16 左扬
阅读(357)
评论(0)
推荐(0)
2023年11月14日
vuejs3.0 从入门到精通——Pinia——定义Store
摘要: 定义Store Store 是用defineStore()定义的,它的第一个参数要求是一个独一无二的名字: import { defineStore } from 'pinia' // 你可以对 `defineStore()` 的返回值进行任意命名,但最好使用 store 的名字,同时以 `use`
阅读全文
posted @ 2023-11-14 14:56 左扬
阅读(2171)
评论(0)
推荐(0)
vuejs3.0 从入门到精通——Pinia——Store 是什么?
摘要: Pinia —— Store 是什么? https://pinia.vuejs.org/zh/getting-started.html#what-is-a-store 一、Store 是什么? Store (如 Pinia) 是一个保存状态和业务逻辑的实体,它并不与你的组件树绑定。换句话说,它承载着
阅读全文
posted @ 2023-11-14 10:20 左扬
阅读(189)
评论(0)
推荐(0)
vuejs3.0 从入门到精通——Pinia——安装
摘要: 安装 Pinia 用你喜欢的包管理器安装 pinia: yarn add pinia # 或者使用 npm npm install pinia 安装结束。
阅读全文
posted @ 2023-11-14 10:13 左扬
阅读(69)
评论(0)
推荐(0)
vuejs3.0 从入门到精通——Pinia——介绍
摘要: 介绍 Pinia https://pinia.vuejs.org/zh/introduction.html 一、简介 https://pinia.vuejs.org/zh/introduction.html#introduction Pinia 起始于 2019 年 11 月左右的一次实验,其目的是
阅读全文
posted @ 2023-11-14 09:52 左扬
阅读(227)
评论(0)
推荐(0)
2023年11月13日
vuejs3.0 从入门到精通——Vuex 4.x —— Getter
摘要: Vuex 4.x —— Getter https://vuex.vuejs.org/zh/guide/getters.html 有时候我们需要从store中的state中派生出一些状态,例如对列表进行过滤并计数: computed: { doneTodosCount () { return this
阅读全文
posted @ 2023-11-13 17:35 左扬
阅读(59)
评论(0)
推荐(0)
vuejs3.0 从入门到精通——Vuex 4.x —— state
摘要: Vuex 4.x —— state https://vuex.vuejs.org/zh/guide/state.html 一、单一状态树 https://vuex.vuejs.org/zh/guide/state.html#单一状态树 Vuex 使用单一状态树——是的,用一个对象就包含了全部的应用层
阅读全文
posted @ 2023-11-13 16:34 左扬
阅读(60)
评论(0)
推荐(0)
vuejs3.0 从入门到精通——Vuex 4.x
摘要: Vuex 4.x https://vuex.vuejs.org/zh/ 一、Vue是什么? Vuex 是一个专为 Vue.js 应用程序开发的状态管理模式+库。它采用集中式存储管理应用的所有组件的状态,并以相应的规则保证状态以一种可预测的方式发生变化。 1.1、什么是 "状态管理模式"? 状态管理模
阅读全文
posted @ 2023-11-13 15:50 左扬
阅读(102)
评论(0)
推荐(0)
vuejs3.0 从入门到精通——provide、inject、mixins、extends
摘要: provide、inject、mixins、extends 一、provide 用于提供可以被后代组件注入的值。 interface ComponentOptions { provide?: object | ((this: ComponentPublicInstance) => object) }
阅读全文
posted @ 2023-11-13 11:03 左扬
阅读(403)
评论(0)
推荐(0)
上一页
1
···
9
10
11
12
13
14
15
16
17
···
59
下一页
公告