mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 12:20:22 +00:00
Load all frontend packages conditionally
This commit is contained in:
@@ -1,12 +1,9 @@
|
||||
@php require_frontend_packages(['datatables', 'animatecss']); @endphp
|
||||
|
||||
@extends('layout.default')
|
||||
|
||||
@section('title', $__t('Stock entries'))
|
||||
|
||||
@push('pageStyles')
|
||||
<link href="{{ $U('/node_modules/animate.css/animate.min.css?v=', true) }}{{ $version }}"
|
||||
rel="stylesheet">
|
||||
@endpush
|
||||
|
||||
@push('pageScripts')
|
||||
<script src="{{ $U('/viewjs/purchase.js?v=', true) }}{{ $version }}"></script>
|
||||
@endpush
|
||||
|
Reference in New Issue
Block a user