Skip to content

Commit b7b2c79

Browse files
authored
docs: use new docs URL (#914)
1 parent aa4f7c1 commit b7b2c79

File tree

7 files changed

+19
-19
lines changed

7 files changed

+19
-19
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<p align="center">
2-
<a href="https://pinia.esm.dev" target="_blank" rel="noopener noreferrer">
3-
<img width="180" src="https://pinia.esm.dev/logo.svg" alt="Pinia logo">
2+
<a href="https://pinia.vuejs.org" target="_blank" rel="noopener noreferrer">
3+
<img width="180" src="https://pinia.vuejs.org/logo.svg" alt="Pinia logo">
44
</a>
55
</p>
66
<br/>
@@ -107,7 +107,7 @@ A few notes about the project and possible questions:
107107

108108
**Q**: _What about dynamic modules?_
109109

110-
**A**: Dynamic modules are not type safe, so instead [we allow creating different stores](https://pinia.esm.dev/cookbook/composing-stores.html) that can be imported anywhere
110+
**A**: Dynamic modules are not type safe, so instead [we allow creating different stores](https://pinia.vuejs.org/cookbook/composing-stores.html) that can be imported anywhere
111111

112112
## Roadmap / Ideas
113113

@@ -202,7 +202,7 @@ export default defineComponent({
202202

203203
## Documentation
204204

205-
To learn more about Pinia, check [its documentation](https://pinia.esm.dev).
205+
To learn more about Pinia, check [its documentation](https://pinia.vuejs.org).
206206

207207
## License
208208

packages/docs/.vitepress/config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
// @ts-check
22

3-
const META_URL = 'https://pinia.esm.dev'
3+
const META_URL = 'https://pinia.vuejs.org'
44
const META_TITLE = 'Pinia 🍍'
55
const META_DESCRIPTION =
66
'Intuitive, type safe, light and flexible Store for Vue'
7-
const META_IMAGE = 'https://pinia.esm.dev/social.png'
7+
const META_IMAGE = 'https://pinia.vuejs.org/social.png'
88

99
const isProduction = process.env.NODE_ENV
1010

packages/nuxt/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default {
1818
}
1919
```
2020

21-
Note you also need `@nuxtjs/composition-api` if you are using Nuxt 2 without Bridge. [Refer to docs for more](https://pinia.esm.dev/ssr/nuxt.html).
21+
Note you also need `@nuxtjs/composition-api` if you are using Nuxt 2 without Bridge. [Refer to docs for more](https://pinia.vuejs.org/ssr/nuxt.html).
2222

2323
## License
2424

packages/pinia/CHANGELOG.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848

4949
## [2.0.1](https://github.com/vuejs/pinia/compare/[email protected]@2.0.1) (2021-11-03)
5050

51-
This release correctly removes the deprecated APIs as advertised in v2. The [documentation](https://pinia.esm.dev/cookbook/migration-v1-v2.html) contains a list of all the deprecations compared to v0.x.
51+
This release correctly removes the deprecated APIs as advertised in v2. The [documentation](https://pinia.vuejs.org/cookbook/migration-v1-v2.html) contains a list of all the deprecations compared to v0.x.
5252

5353
### Bug Fixes
5454

@@ -237,7 +237,7 @@ It contains major improvements:
237237

238238
- Performance: Pinia now uses `effectScope()`, effectively reducing memory consumption and removing the drawbacks mentioned in the Plugin section about `useStore()` creating multiple store instances (still sharing the state).
239239
- Devtools: Many improvements over the information displayed in devtools as well as a few bugfixes
240-
- HMR (Hot Module Replacement): You can now modify your stores without reloading the page and losing the state, making development much easier. Until 3.2.0 (stable) is released, you can find an example [in the playground](https://github.com/vuejs/pinia/blob/2b98eafe441ea7e9a3ff3cef122c24eb5fa03f1d/playground/src/stores/counter.ts#L66-L68). After that, you can read up to date instructions [in the documentation](https://pinia.esm.dev/cookbook/hot-module-replacement.html).
240+
- HMR (Hot Module Replacement): You can now modify your stores without reloading the page and losing the state, making development much easier. Until 3.2.0 (stable) is released, you can find an example [in the playground](https://github.com/vuejs/pinia/blob/2b98eafe441ea7e9a3ff3cef122c24eb5fa03f1d/playground/src/stores/counter.ts#L66-L68). After that, you can read up to date instructions [in the documentation](https://pinia.vuejs.org/cookbook/hot-module-replacement.html).
241241
- Setup syntax: You can now define stores with a function instead of options. This enables more complex patterns. See an example [in the playground](https://github.com/vuejs/pinia/blob/75f1fe6aa4ef2629ae1c9840a2d4542ac6e62686/playground/src/stores/jokes-swrv.ts). Setup Stores are unable to group actions like Option Stores due to their very permissive syntax.
242242
- Option syntax: we can now pass the `id` as the first parameter. This syntax is preferred over the object syntax to be consistent with the Setup syntax.
243243

@@ -424,7 +424,7 @@ It contains major improvements:
424424
})
425425
```
426426

427-
For more information, refer to [the updated documentation for getters](https://pinia.esm.dev/core-concepts/getters.html).
427+
For more information, refer to [the updated documentation for getters](https://pinia.vuejs.org/core-concepts/getters.html).
428428

429429
- **plugins:** To improve the plugin api capabilities, `pinia.use()`
430430
now receives a context object instead of just `app`:
@@ -436,7 +436,7 @@ It contains major improvements:
436436
pinia.use(({ app }) => {})
437437
```
438438

439-
Check the new documentation for [Plugins](https://pinia.esm.dev/core-concepts/plugins.html)!
439+
Check the new documentation for [Plugins](https://pinia.vuejs.org/core-concepts/plugins.html)!
440440

441441
# [2.0.0-alpha.13](https://github.com/vuejs/pinia/compare/v2.0.0-alpha.12...v2.0.0-alpha.13) (2021-04-10)
442442

packages/pinia/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<p align="center">
2-
<a href="https://pinia.esm.dev" target="_blank" rel="noopener noreferrer">
3-
<img width="180" src="https://pinia.esm.dev/logo.svg" alt="Pinia logo">
2+
<a href="https://pinia.vuejs.org" target="_blank" rel="noopener noreferrer">
3+
<img width="180" src="https://pinia.vuejs.org/logo.svg" alt="Pinia logo">
44
</a>
55
</p>
66

@@ -17,7 +17,7 @@
1717

1818
## Documentation
1919

20-
To learn more about Pinia, check [its documentation](https://pinia.esm.dev).
20+
To learn more about Pinia, check [its documentation](https://pinia.vuejs.org).
2121

2222
## License
2323

packages/pinia/src/devtools/plugin.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ export function registerPiniaDevtools(app: DevtoolsApp, pinia: Pinia) {
5656
{
5757
id: 'dev.esm.pinia',
5858
label: 'Pinia 🍍',
59-
logo: 'https://pinia.esm.dev/logo.svg',
59+
logo: 'https://pinia.vuejs.org/logo.svg',
6060
packageName: 'pinia',
61-
homepage: 'https://pinia.esm.dev',
61+
homepage: 'https://pinia.vuejs.org',
6262
componentStateTypes,
6363
app,
6464
},
@@ -265,9 +265,9 @@ function addStoreToDevtools(app: DevtoolsApp, store: StoreGeneric) {
265265
{
266266
id: 'dev.esm.pinia',
267267
label: 'Pinia 🍍',
268-
logo: 'https://pinia.esm.dev/logo.svg',
268+
logo: 'https://pinia.vuejs.org/logo.svg',
269269
packageName: 'pinia',
270-
homepage: 'https://pinia.esm.dev',
270+
homepage: 'https://pinia.vuejs.org',
271271
componentStateTypes,
272272
app,
273273
settings: {

packages/pinia/src/vue2-plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { Pinia, piniaSymbol, setActivePinia } from './rootStore'
66
/**
77
* Vue 2 Plugin that must be installed for pinia to work. Note **you don't need
88
* this plugin if you are using Nuxt.js**. Use the `buildModule` instead:
9-
* https://pinia.esm.dev/ssr/nuxt.html.
9+
* https://pinia.vuejs.org/ssr/nuxt.html.
1010
*
1111
* @example
1212
* ```js

0 commit comments

Comments
 (0)