]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
docs: create ssr folder
authorEduardo San Martin Morote <posva13@gmail.com>
Tue, 30 Mar 2021 13:21:05 +0000 (15:21 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Tue, 30 Mar 2021 13:21:05 +0000 (15:21 +0200)
docs/.vitepress/config.js
docs/core-concepts/index.md
docs/getting-started.md
docs/ssr/index.md [moved from docs/server-side-rendering.md with 100% similarity]

index eef639a306659afce322bf4c7fb8fa26a50221f4..9dc971e6173bf3b9c8dba507c1bf5ff31fcf08e0 100644 (file)
@@ -178,7 +178,7 @@ module.exports = {
         },
         {
           text: 'Server-Side Rendering (SSR)',
-          link: '/server-side-rendering.html',
+          link: '/ssr/',
         },
         {
           text: 'Cookbook',
index 4f07514980b6210deef7f5e19bda73c36e499912..7b4390f1a9bb690572897a95234fcdc2b135749d 100644 (file)
@@ -47,7 +47,7 @@ router.beforeEach((to) => {
 ```
 
 :::tip
-When dealing with Server Side Rendering, you will have to pass the `pinia` instance to `useStore()`. Read more about this in the [SSR guide](/server-side-rendering.md).
+When dealing with Server Side Rendering, you will have to pass the `pinia` instance to `useStore()`. Read more about this in the [SSR guide](/ssr/index.md).
 :::
 
 Once the store is instantiated, you can access any property defined in `state`, `getters`, and `actions` directly on the store. We will see these in detail in the next pages but autocompletion will help you.
index 6046e3f14af81c60320ed1464a9ec1fc5a7a4ebd..2012d24855007c07a9b28f9e27da8b0803e962a9 100644 (file)
@@ -9,7 +9,7 @@ npm install pinia@next
 ```
 
 :::tip
-`pinia@next` install Pinia v2 for Vue 3. If your app is using Vue 2, you need to install Pinia v1: `pinia@latest` **and** `@vue/composition-api`. If you are using Nuxt, you should follow [these instructions](./server-side-rendering.md#nuxt-js).
+`pinia@next` install Pinia v2 for Vue 3. If your app is using Vue 2, you need to install Pinia v1: `pinia@latest` **and** `@vue/composition-api`. If you are using Nuxt, you should follow [these instructions](./ssr/index.md#nuxt-js).
 :::
 
 Create a pinia (the root store) and pass it to app: