Set up a fresh Statamic site
This commit is contained in:
48
config/statamic/live_preview.php
Normal file
48
config/statamic/live_preview.php
Normal file
@ -0,0 +1,48 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Devices
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Live Preview displays a device selector for you to preview the page
|
||||
| in predefined sizes. You are free to add or edit these presets.
|
||||
|
|
||||
*/
|
||||
|
||||
'devices' => [
|
||||
'Laptop' => ['width' => 1440, 'height' => 900],
|
||||
'Tablet' => ['width' => 1024, 'height' => 786],
|
||||
'Mobile' => ['width' => 375, 'height' => 812],
|
||||
],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Additional Inputs
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Additional fields may be added to the Live Preview header bar. You
|
||||
| may define a list of Vue components to be injected. Their values
|
||||
| will be added to the cascade on the front-end for you to use.
|
||||
|
|
||||
*/
|
||||
|
||||
'inputs' => [
|
||||
//
|
||||
],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Force Reload Javascript Modules
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| To force a reload, Live Preview appends a timestamp to the URL on
|
||||
| script tags of type 'module'. You may disable this behavior here.
|
||||
|
|
||||
*/
|
||||
|
||||
'force_reload_js_modules' => true,
|
||||
|
||||
];
|
||||
Reference in New Issue
Block a user