脚本JS未更新Laravel
在编辑了JavaScript文件上的某个行之后,我已经将Web应用程序与Laravel开发,并保存它,当我在浏览器上检查时不会更改。 我将我的JavaScript文件放在公共文件夹上。
@push('scripts')
<script src="{{ asset('public/myJavascript.js') }}"></script>
@endpush
我已经在浏览器上尝试了Clear Cache,但是它
已经在Live Server上已经在该应用程序上了,我可以通过WINSCP进行编码。 我不知道这里发生了什么,谢谢你
I already have web app develop with laravel, after i edited some line on my javascript file, and save it, it doesn't change when i check on my browser.
i put my javascript file on public folder.
@push('scripts')
<script src="{{ asset('public/myJavascript.js') }}"></script>
@endpush
i already tried clear cache on browser, but it doesn't work as well
this app already on live server, i code it via winSCP.
I have no idea what was going on here, Thank you in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
它已经解决了,我需要在下面运行此命令,
谢谢
it already solved now, i need to run this command below
thank you