Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ This package based on the official Laravel adapter for Inertia.js [inertiajs/ine
- [x] Helpers for validation errors
- [x] Examples
- [x] SSR
- [x] Inertia 2.0 compatibility
- [x] Inertia 3.0 compatibility

## Installation

Install using `go get` command:

```shell
go get github.com/romsar/gonertia/v2
go get github.com/romsar/gonertia/v3
```

## Usage
Expand All @@ -46,7 +46,7 @@ import (
"log"
"net/http"

inertia "github.com/romsar/gonertia"
inertia "github.com/romsar/gonertia/v3"
)

func main() {
Expand Down Expand Up @@ -169,7 +169,7 @@ props := inertia.Props{
}
```

#### Once props ([learn more](https://inertiajs.com/docs/v2/data-props/once-props))
#### Once props ([learn more](https://inertiajs.com/docs/v3/data-props/once-props))

Gonertia supports light version of Once props (feel free to send a pr with support of other features).

Expand Down Expand Up @@ -417,7 +417,7 @@ import (
"log"
"net/http"

inertia "github.com/romsar/gonertia/v2"
inertia "github.com/romsar/gonertia/v3"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/romsar/gonertia/v2
module github.com/romsar/gonertia/v3

go 1.23
Loading