NativePHP Laravel: CDN JS Not Loading on App Start #491
-
Hello, I am using NativePHP with Laravel. The JavaScript files I call via a CDN inside Blade are not loading when the application starts, but they load when I open the application in a web browser. How can I solve this issue? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hey there 👋 Whilst running the application in dev, do you see the request for the CDN resource? ![]() In this example, I added a Google Fonts CSS import to my application and it loaded it fine. |
Beta Was this translation helpful? Give feedback.
-
Loading external assets, especially scripts, introduces security risks into your app. You should make sure that all of the resources needed to render the UI of your application are bundled with your application. |
Beta Was this translation helpful? Give feedback.
Loading external assets, especially scripts, introduces security risks into your app. You should make sure that all of the resources needed to render the UI of your application are bundled with your application.