]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
add vue school links for the options API (#1088)
authorDaniel Kelly <me@danielkelly.io>
Mon, 28 Feb 2022 16:42:24 +0000 (10:42 -0600)
committerGitHub <noreply@github.com>
Mon, 28 Feb 2022 16:42:24 +0000 (17:42 +0100)
packages/docs/core-concepts/actions.md
packages/docs/core-concepts/getters.md
packages/docs/core-concepts/state.md

index edcdcd1fd2daa2c37ff74bad1e84e146a176ac82..833e62ffac771341a19237d41a0ffa500d130c4a 100644 (file)
@@ -107,6 +107,11 @@ export default {
 
 ## Usage with the Options API
 
+<VueSchoolLink
+  href="https://vueschool.io/lessons/access-pinia-actions-in-the-options-api"
+  title="Access Pinia Getters via the Options API"
+/>
+
 For the following examples, you can assume the following store was created:
 
 ```js
index ba5530e1d1bff4f6066d83b253ce4edc478308b2..a5f543d79a3d5faffbd98c364cd20731c6853c90 100644 (file)
@@ -166,6 +166,11 @@ export default {
 
 ## Usage with the Options API
 
+<VueSchoolLink
+  href="https://vueschool.io/lessons/access-pinia-getters-in-the-options-api"
+  title="Access Pinia Getters via the Options API"
+/>
+
 For the following examples, you can assume the following store was created:
 
 ```js
index 6cb6c5db0a6da6bbbbf3c89d3a75220bbd73f11b..14e149b94594c958217c0bdf1d296986e36c246d 100644 (file)
@@ -49,6 +49,11 @@ store.$reset()
 
 ### Usage with the Options API
 
+<VueSchoolLink
+  href="https://vueschool.io/lessons/access-pinia-state-in-the-options-api"
+  title="Access Pinia State via the Options API"
+/>
+
 For the following examples, you can assume the following store was created:
 
 ```js