mirror of
https://github.com/lsky-org/lsky-pro.git
synced 2025-01-08 11:57:52 +08:00
✨ 增加自定义js的支持
This commit is contained in:
parent
b69bc02b27
commit
67ff633a3f
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,6 +4,7 @@
|
||||
/node_modules
|
||||
/public/hot
|
||||
/public/storage
|
||||
/public/js/custom.js
|
||||
/storage/*.key
|
||||
/vendor
|
||||
.env
|
||||
|
@ -61,5 +61,8 @@
|
||||
setSwitch(this);
|
||||
});
|
||||
</script>
|
||||
@if(file_exists(public_path('js/custom.js')))
|
||||
<script src="{{ asset('js/custom.js') }}"></script>
|
||||
@endif
|
||||
@stack('scripts')
|
||||
</html>
|
||||
|
@ -26,5 +26,8 @@
|
||||
{{ $slot }}
|
||||
</div>
|
||||
</body>
|
||||
@if(file_exists(public_path('js/custom.js')))
|
||||
<script src="{{ asset('js/custom.js') }}"></script>
|
||||
@endif
|
||||
@stack('scripts')
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user