5 ms·
I haven't done much frontend dev work, but I thought that's what the integrity keyword is for: <script src="https://example.com/example-framework.js" int
by _whiteCaps_ 4y ago
I haven't done much frontend dev work, but I thought that's what the integrity keyword is for:
<script
src="https://example.com/example-framework.js"
integrity="sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC"
crossorigin="anonymous"></script>
- infogulch 4y agoThe Installing section suggests exactly this for users just getting started: https://htmx.org/docs/#installing https://htmx.org/docs/#installing And then it says in the docs right after: > While the CDN approach is extremely simple, you may want to consider not using CDNs in production. > The next easiest way to install htmx is to simply copy it into your project. > Download htmx.min.js from unpkg.com and add it to the appropriate directory in your project and include it where necessary with a <script> tag: Someone else in the thread was asking about webpack. webpack. What has javascript done to people's expectations?