Skip to content

Commit

Permalink
feat: include page entrypoint in root stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien-R44 committed Mar 2, 2024
1 parent 7ad02fb commit af7fac6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion stubs/react/root.edge.stub
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<title inertia>AdonisJS x Inertia x React</title>

@viteReactRefresh()
@vite(['resources/app.tsx'])
{{ "@vite(['resources/app.tsx', `resources/pages/${page.component}.tsx`])" }}
@inertiaHead()
</head>

Expand Down
2 changes: 1 addition & 1 deletion stubs/solid/root.edge.stub
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<title inertia>AdonisJS x Inertia x SolidJS</title>

@vite(['resources/app.tsx'])
{{ "@vite(['resources/app.tsx', `resources/pages/${page.component}.tsx`])" }}
@inertiaHead()
</head>

Expand Down
2 changes: 1 addition & 1 deletion stubs/vue/root.edge.stub
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<title inertia>AdonisJS x Inertia x VueJS</title>

@vite(['resources/app.ts'])
{{ "@vite(['resources/app.ts', `resources/pages/${page.component}.vue`])" }}
@inertiaHead()
</head>

Expand Down

0 comments on commit af7fac6

Please sign in to comment.