Skip to content

Commit 3ba3754

Browse files
committed
docs: add install vue-tinybase section
1 parent 826be17 commit 3ba3754

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

packages/private/docs/guide/getting-started/connect-to-vuejs-app.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ With your TinyBase store set up, the next step is to connect it to your Vue.js a
44

55
For more details on context, you can refer to the [context](/api/store/context) section of the API.
66

7+
## Add `vue-tinybase` package to your project
8+
9+
First, you need to install the `vue-tinybase` package. You can do this using npm with the following command:
10+
11+
```bash
12+
npm install --save vue-tinybase
13+
```
14+
15+
This will add TinyBase to your project’s dependencies, allowing you to import and use it in your code.
16+
717
## Provide the Store to Your Vue App
818

919
To provide the TinyBase store to your Vue.js app, you need to use the `provideStore` function from `vue-tinybase`. This will make the store available throughout your Vue component tree.

0 commit comments

Comments
 (0)