14 lines
864 B
PHP
14 lines
864 B
PHP
@include('modules.script-constants')
|
|
<script @if (isset($nonce)) nonce="{{ $nonce }}" @endif>
|
|
if (!window.__SYSTEM._routes) {
|
|
window.__SYSTEM._routes = {};
|
|
}
|
|
|
|
// FIXME: Add missing routes for MenuNodeTypeEnum usage in settings vue component
|
|
// FIXME: Add missing routes for RangesSliderComponent.vue
|
|
window.__SYSTEM._routes['fo.home.products'] = '{{ route('fo.home.products', ['range_slug' => 'RANGESLUG']) }}';
|
|
window.__SYSTEM._routes['fo.contact.show'] = '{{ route('fo.contact.show') }}';
|
|
window.__SYSTEM._routes['fo.add-single-optin'] = "{{ route('fo.add-single-optin') }}";
|
|
window.__SYSTEM._routes['bo.menu_node_data.index'] = '{{ route('bo.menu_node_data.index') }}';
|
|
window.__SYSTEM._routes['bo.menu_node_data.update'] = '{{ route('bo.menu_node_data.update', ['menu_node_data' => 'MENU_NODE_DATA']) }}';
|
|
</script>
|