Comments (3)
I wonder if it's the unpkg auto redirection that messes up here, could you try loading directly with the resolved URL (the one you eventually get when opening the link in your browser directly), aka
<script src="https://unpkg.com/[email protected]/dist/htmx.min.js"></script>
?
Just to see if it works correctly with the script's actual URL or not
from htmx.
I wonder if it's the unpkg auto redirection that messes up here, could you try loading directly with the resolved URL (the one you eventually get when opening the link in your browser directly), aka
<script src="https://unpkg.com/[email protected]/dist/htmx.min.js"></script>
? Just to see if it works correctly with the script's actual URL or not
Yep this works fine, thanks for that!
from htmx.
Closing as this is likely a unpkg-related issue and not related to htmx itself
from htmx.
Related Issues (20)
- Change the version tags on npm HOT 2
- Better surfacing of extensions documentation: github not enough
- hx-swap-oob tag makes it's way to dom when it is not needed
- Exposing saveCurrentPageToHistory via js API
- Data URLs do not work when selfRequestsOnly is enabled. HOT 3
- Need help replicating: script-loading issue with nonce-based CSP HOT 6
- CSP issue unsafe-inline HOT 2
- Page title not restored correctly after back button in Firefox HOT 1
- htmx:afterRequest not fired if a string is sent from the server on 5xx error HOT 6
- htmx.ajax requests promise fulfilled too early HOT 1
- Example when searching a form (multiple fields) HOT 2
- Provide option on hx attributes for them not to be inherited HOT 1
- hx-headers inheritance cannot be disabled HOT 2
- View transitions and html dialog modals scrollbar flickering
- Uncaught SyntaxError: Failed to execute 'querySelector' on 'Document' HOT 3
- Typescript: Configuration variables shouldn't be const HOT 6
- `htmx.config.requestClass` cannot contain a space i.e. cannot be multiple class names HOT 1
- `hx-vals` fails to parse `this.value` on select object HOT 1
- `hx-vals` fails to parse `this.value` for POST request on select object HOT 4
- Video from previous page autoplays when going back HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from htmx.