-
-
Notifications
You must be signed in to change notification settings - Fork 27k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Including from a CDN #3671
Comments
Sure, sounds fine. |
I use In my <% if (process.env.NODE_ENV !== 'development') { %>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.13/semantic.min.css" integrity="sha384-370KB8zqOlHxys9dcOyC7aCeXVtGyiKkWkp+cn8Mfoi13/sPj7fvSuhKRRdFbcip"
crossorigin="anonymous">
<% } %> and in if (process.env.NODE_ENV === 'development') {
import('semantic-ui-css/semantic.min.css');
} I imagine you can do the same for bootstrap. |
I just added
to |
# for free
to subscribe to this conversation on GitHub.
Already have an account?
#.
I want to include the bootstrap (or let's say ion-icons) from the CDN to divert the bandwidth from my own server instead of including it using a node_module. I know I can edit the public/index.html. But is it advisable? That's I guess my real question. I mean would there be the intended benefit of doing so?
The text was updated successfully, but these errors were encountered: