Is there anyway of defining separate asset link for app.css and app.js #229
-
Hi there, Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey @charliex311 You can publish the layout file which contains the links to the assets. If you host the assets somewhere else, and you cannot use the Laravel's
And then update the layout's code so that it loads the assets from where you need them to be loaded. Hope this helps! |
Beta Was this translation helpful? Give feedback.
Hey @charliex311
You can publish the layout file which contains the links to the assets. If you host the assets somewhere else, and you cannot use the Laravel's
ASSET_URL
environment variable for some reason, just do this:And then update the layout's code so that it loads the assets from where you need them to be loaded.
Hope this helps!