You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`root`|`string`| Path to laravel directory (is resolved relative to `process.cwd()`) |`process.cwd()`|
75
-
|`publicDir`|`string`| The folder where laravel serves assets from (is resolved relative to `root`) |`'public'`|
76
-
|`publicPath`|`string`| Folder location to which generated assets are output (is resolved relative to and must reside in `publicDir`) | `process.env.NUXT_OUTPUT_PATH || nuxtConfig.router.base` |
77
-
|`outputPath`|`string`| File location to which the index route will be rendered, (is resolved relative to `root`) |`path.join(publicDir, publicPath, '_spa.html')`|
78
-
|`server`|`object`| Settings for the Laravel testserver |*(see below)*|
79
-
|`dotEnvExport`|`boolean`| Whether the `NUXT_OUTPUT_PATH` varibale should be written to the `.env` file in the laravel root directory |`false`|
|`root`|`string`| Path to laravel directory (is resolved relative to `process.cwd()`) |`process.cwd()`|
75
+
|`publicDir`|`string`| The folder where laravel serves assets from (is resolved relative to `root`) |`'public'`|
76
+
|`publicPath`|`string`| Folder location to which generated assets are output (is resolved relative to and must reside in `publicDir`) |`process.env.NUXT_OUTPUT_PATH \|\| nuxtConfig.router.base`|
77
+
|`outputPath`|`string`| File location to which the index route will be rendered, (is resolved relative to `root`) |`path.join(publicDir, publicPath, '_spa.html')`|
78
+
|`server`|`boolean` or `object`| Settings for the Laravel testserver |*(see below)*|
79
+
|`dotEnvExport`|`boolean`| Whether the `NUXT_OUTPUT_PATH` varibale should be written to the `.env` file in the laravel root directory |`false`|
80
80
81
81
The module loads the `.env` file from yout laravel root, so you can set the `NUXT_OUTPUT_PATH` environment variable from there.
82
82
83
83
#### The `server` setting
84
84
85
+
If this setting is set to `false` the module will be disabled for development.
86
+
Setting this to `true` is equivalient to omitting it and will simply use the default configuration.
|`root`|`string`| Path to laravel directory (is resolved relative to `process.cwd()`) |`process.cwd()`|
75
-
|`publicDir`|`string`| The folder where laravel serves assets from (is resolved relative to `root`) |`'public'`|
76
-
|`publicPath`|`string`| Folder location to which generated assets are output (is resolved relative to and must reside in `publicDir`) | `process.env.NUXT_OUTPUT_PATH || nuxtConfig.router.base` |
77
-
|`outputPath`|`string`| File location to which the index route will be rendered, (is resolved relative to `root`) |`path.join(publicDir, publicPath, '_spa.html')`|
78
-
|`server`|`object`| Settings for the Laravel testserver |*(see below)*|
79
-
|`dotEnvExport`|`boolean`| Whether the `NUXT_OUTPUT_PATH` varibale should be written to the `.env` file in the laravel root directory |`false`|
|`root`|`string`| Path to laravel directory (is resolved relative to `process.cwd()`) |`process.cwd()`|
75
+
|`publicDir`|`string`| The folder where laravel serves assets from (is resolved relative to `root`) |`'public'`|
76
+
|`publicPath`|`string`| Folder location to which generated assets are output (is resolved relative to and must reside in `publicDir`) |`process.env.NUXT_OUTPUT_PATH \|\| nuxtConfig.router.base`|
77
+
|`outputPath`|`string`| File location to which the index route will be rendered, (is resolved relative to `root`) |`path.join(publicDir, publicPath, '_spa.html')`|
78
+
|`server`|`boolean` or `object`| Settings for the Laravel testserver |*(see below)*|
79
+
|`dotEnvExport`|`boolean`| Whether the `NUXT_OUTPUT_PATH` varibale should be written to the `.env` file in the laravel root directory |`false`|
80
80
81
81
The module loads the `.env` file from yout laravel root, so you can set the `NUXT_OUTPUT_PATH` environment variable from there.
82
82
83
83
#### The `server` setting
84
84
85
+
If this setting is set to `false` the module will be disabled for development.
86
+
Setting this to `true` is equivalient to omitting it and will simply use the default configuration.
0 commit comments