File tree Expand file tree Collapse file tree 1 file changed +55
-0
lines changed Expand file tree Collapse file tree 1 file changed +55
-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 each initial request made to your application's pages
12+ | so that server rendered HTML is delivered for the user's browser.
13+ |
14+ | See: https://inertiajs.com/server-side-rendering
15+ |
16+ */
17+
18+ 'ssr ' => [
19+ 'enabled ' => true ,
20+ 'url ' => 'http://127.0.0.1:13714 ' ,
21+ // 'bundle' => base_path('bootstrap/ssr/ssr.mjs'),
22+
23+ ],
24+
25+ /*
26+ |--------------------------------------------------------------------------
27+ | Testing
28+ |--------------------------------------------------------------------------
29+ |
30+ | The values described here are used to locate Inertia components on the
31+ | filesystem. For instance, when using `assertInertia`, the assertion
32+ | attempts to locate the component as a file relative to the paths.
33+ |
34+ */
35+
36+ 'testing ' => [
37+
38+ 'ensure_pages_exist ' => true ,
39+
40+ 'page_paths ' => [
41+ resource_path ('js/pages ' ),
42+ ],
43+
44+ 'page_extensions ' => [
45+ 'js ' ,
46+ 'jsx ' ,
47+ 'svelte ' ,
48+ 'ts ' ,
49+ 'tsx ' ,
50+ 'vue ' ,
51+ ],
52+
53+ ],
54+
55+ ];
You can’t perform that action at this time.
0 commit comments