@extends('eventmie::o_dashboard.index')

@section('title')
    @lang('eventmie-pro::em.myevents')
@endsection

@section('o_dashboard')
<div class="container-fluid my-2">
    <div class="row">
        <div class="col-md-12">
            <router-view
                :date_format="{{ json_encode(
                    [
                        'vue_date_format' => format_js_date(),
                        'vue_time_format' => format_js_time(),
                    ],
                    JSON_HEX_APOS,
                ) }}"
                :organizer="{{ json_encode(auth()->user(), JSON_HEX_TAG) }}"
            >
            </router-view>
        </div>
    </div>
</div>
@endsection

@section('javascript')
<script>var path = {!! json_encode($path, JSON_HEX_TAG) !!};</script>
    @vite(['eventmie-pro/resources/js/myevents/index.js']) <!-- Ensure Vite loads the script -->

@stop
