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