Skip to content
This repository was archived by the owner on Nov 10, 2024. It is now read-only.

Commit 54ec4fc

Browse files
authored
Merge pull request #1 from sebastiaanluca/patch-1
Update README.md - Add import statement
2 parents daab898 + a7b8968 commit 54ec4fc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ window.inertiaEventsCount = {
4040
In the creation of the Vue application instance, use the `mounted` method to register the [event listeners](https://inertiajs.com/events).
4141

4242
```js
43+
import { Inertia } from '@inertiajs/inertia'
44+
4345
new Vue({
4446
mounted() {
4547
Inertia.on('navigate', (event) => {

0 commit comments

Comments
 (0)