Soon OdinCMS and OdinSTORE are on the way — be the first to know. Join the list
OdinZero
Get Pro Live preview
  1. Home page
  2. Help center
  3. Installation

Use with Laravel

Copy the assets to public/, make one Blade layout and move the sidebar into a partial.

  1. Copy the template's css/, js/ and images/ folders to public/odinadmin/, keeping their structure.
  2. Make a layout, resources/views/layouts/admin.blade.php, from any page: keep everything except the inside of .content and put @yield('content') there.
  3. Link the files with asset(), so they work in any folder or domain:
    <link rel="stylesheet" href="{{ asset('odinadmin/css/style.css') }}">
    <script src="{{ asset('odinadmin/js/app.js') }}"></script>
  4. Move the sidebar into admin/partials/sidebar.blade.php and mark the current link with request()->routeIs(…).

Each page then only holds its own content and pushes the extra scripts it needs with @push('scripts'). The template's docs (Back end → Integration) walk through forms, validation errors and tables too.

Back to the help center