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
@@ -341,6 +334,16 @@ export default function () {
341
334
php artisan inertia:start-ssr
342
335
` }
343
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
+ />
344
347
< P >
345
348
With the server running, you should be able to access your app within the browser with server-side rendering
346
349
enabled. In fact, you should be able to disable JavaScript entirely and still navigate around your application.
You can’t perform that action at this time.
0 commit comments