File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -91,13 +91,6 @@ export default function () {
91
91
} ,
92
92
] }
93
93
/>
94
- < P > Then, make sure you have the latest version of the Inertia Laravel adapter installed.</ P >
95
- < CodeBlock
96
- language = "bash"
97
- children = { dedent `
98
- composer require inertiajs/inertia-laravel
99
- ` }
100
- />
101
94
< H2 > Add server entry-point</ H2 >
102
95
< P >
103
96
Next, we'll create a < Code > resources/js/ssr.js</ Code > file within our Laravel project that will serve as our SSR
@@ -548,6 +541,16 @@ export default function () {
548
541
Note, you must have the < Code > heroku/nodejs</ Code > buildpack installed in addition to the{ ' ' }
549
542
< Code > heroku/php</ Code > buildback for the SSR server to run.
550
543
</ P >
544
+ < H2 > Bun.js</ H2 >
545
+ < P >
546
+ To use Bun as runtime instead of Nodejs, you can do the following
547
+ </ P >
548
+ < CodeBlock
549
+ language = "bash"
550
+ children = { dedent `
551
+ php artisan inertia:start-ssr --runtime=bun
552
+ ` }
553
+ />
551
554
</ >
552
555
)
553
556
}
You can’t perform that action at this time.
0 commit comments