Skip to content

Commit

Permalink
Update Readme example with latest client side depedendencies.
Browse files Browse the repository at this point in the history
Update the default manifest path as it was changed in vite 5.
  • Loading branch information
matrei committed Nov 25, 2023
1 parent 17c4aa5 commit 8a02ff2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ dependencies {
\
To add the client dependencies and workflow to a Grails project, create the following files: **(Vue 3 example)**
```javascript
// myapp/package.json (versions @ 2023-10-19)
// myapp/package.json (versions @ 2023-11-25)
```
```json
{
Expand All @@ -53,13 +53,12 @@ To add the client dependencies and workflow to a Grails project, create the foll
"build": "vite build && vite build --outDir src/main/resources/ssr --ssr src/main/javascript/ssr.js"
},
"dependencies": {
"vue": "^3.3.4",
"@inertiajs/vue3": "^1.0.12",
"@vue/server-renderer": "^3.3.4"
"vue": "^3.3.9",
"@inertiajs/vue3": "^1.0.14"
},
"devDependencies": {
"@vitejs/plugin-vue": "^4.4.0",
"vite": "^4.5.0"
"@vitejs/plugin-vue": "^4.5.0",
"vite": "^5.0.2"
}
}
```
Expand Down
2 changes: 1 addition & 1 deletion grails-app/conf/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
inertia:
manifest:
location: 'classpath:public/dist/manifest.json'
location: 'classpath:public/dist/.vite/manifest.json'
ssr:
enabled: false
url: 'http://localhost:13714/render'

0 comments on commit 8a02ff2

Please sign in to comment.