Support the ongoing development of Laravel.io →
Configuration Requests
Last updated 2 years ago.
0

How do you need to call it?

I usually use CDN to load some online assets to my views and I use in the href or src for link or script sections of my view.

If you need to load in another way, tell us.

Last updated 2 years ago.
0

that's the way I want to call it, in a href but I don't know what I have to put or how use it something like href="{{cdn???}}"

Last updated 2 years ago.
0

You could use for example for bootstrap cdn:

<link rel="stylesheet" type="text/css" href="//maxcdn.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">

Hope it helps you.

Last updated 2 years ago.
0

well I have my S3 domain where I have my images so I want to call em, but because it's for sure that the domain will change multiple times, I have to made a kind of variable, in my config from cdn to make changes faster but I dont know how to call my stored url from the config

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.