From 9e35ccde3c71affff231be7bb4f48cfc9e99fdbf Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michael=20H=C3=A4rtl?= Date: Sat, 10 Sep 2022 08:45:13 +0200 Subject: [PATCH] docs: comment line length to avoid scrollbar (#1644) --- packages/docs/core-concepts/index.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/docs/core-concepts/index.md b/packages/docs/core-concepts/index.md index 0db512f1..9766eb3d 100644 --- a/packages/docs/core-concepts/index.md +++ b/packages/docs/core-concepts/index.md @@ -10,7 +10,9 @@ Before diving into core concepts, we need to know that a store is defined using ```js import { defineStore } from 'pinia' -// You can name the return value of `defineStore()` anything you want, but it's best to use the name of the store and surround it with `use` and `Store` (e.g. `useUserStore`, `useCartStore`, `useProductStore`) +// You can name the return value of `defineStore()` anything you want, +// but it's best to use the name of the store and surround it with `use` +// and `Store` (e.g. `useUserStore`, `useCartStore`, `useProductStore`) // the first argument is a unique id of the store across your application export const useStore = defineStore('main', { // other options... -- 2.47.2