File tree Expand file tree Collapse file tree 1 file changed +73
-0
lines changed Expand file tree Collapse file tree 1 file changed +73
-0
lines changed Original file line number Diff line number Diff line change 1+ <?php
2+
3+ return [
4+
5+ /*
6+ |--------------------------------------------------------------------------
7+ | Server Side Rendering
8+ |--------------------------------------------------------------------------
9+ |
10+ | These options configures if and how Inertia uses Server Side Rendering
11+ | to pre-render the initial visits made to your application's pages.
12+ |
13+ | You can specify a custom SSR bundle path, or omit it to let Inertia
14+ | try and automatically detect it for you.
15+ |
16+ | Do note that enabling these options will NOT automatically make SSR work,
17+ | as a separate rendering service needs to be available. To learn more,
18+ | please visit https://inertiajs.com/server-side-rendering
19+ |
20+ */
21+
22+ 'ssr ' => [
23+
24+ 'enabled ' => true ,
25+
26+ 'url ' => 'http://127.0.0.1:13714 ' ,
27+
28+ // 'bundle' => base_path('bootstrap/ssr/ssr.mjs'),
29+
30+ ],
31+
32+ /*
33+ |--------------------------------------------------------------------------
34+ | Testing
35+ |--------------------------------------------------------------------------
36+ |
37+ | The values described here are used to locate Inertia components on the
38+ | filesystem. For instance, when using `assertInertia`, the assertion
39+ | attempts to locate the component as a file relative to any of the
40+ | paths AND with any of the extensions specified here.
41+ |
42+ */
43+
44+ 'testing ' => [
45+
46+ 'ensure_pages_exist ' => true ,
47+
48+ 'page_paths ' => [
49+
50+ resource_path ('js/Pages ' ),
51+
52+ ],
53+
54+ 'page_extensions ' => [
55+
56+ 'js ' ,
57+ 'jsx ' ,
58+ 'svelte ' ,
59+ 'ts ' ,
60+ 'tsx ' ,
61+ 'vue ' ,
62+
63+ ],
64+
65+ ],
66+
67+ 'history ' => [
68+
69+ 'encrypt ' => false ,
70+
71+ ],
72+
73+ ];
You can’t perform that action at this time.
0 commit comments