File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -334,6 +334,16 @@ export default function () {
334
334
php artisan inertia:start-ssr
335
335
` }
336
336
/>
337
+ < P >
338
+ You may use the < Code > --runtime</ Code > option to specify which runtime you want to use. This allows you to
339
+ switch from the default Node.js runtime to Bun.
340
+ </ P >
341
+ < CodeBlock
342
+ language = "bash"
343
+ children = { dedent `
344
+ php artisan inertia:start-ssr --runtime=bun
345
+ ` }
346
+ />
337
347
< P >
338
348
With the server running, you should be able to access your app within the browser with server-side rendering
339
349
enabled. In fact, you should be able to disable JavaScript entirely and still navigate around your application.
@@ -541,16 +551,6 @@ export default function () {
541
551
Note, you must have the < Code > heroku/nodejs</ Code > buildpack installed in addition to the{ ' ' }
542
552
< Code > heroku/php</ Code > buildback for the SSR server to run.
543
553
</ 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
- />
554
554
</ >
555
555
)
556
556
}
You can’t perform that action at this time.
0 commit comments