Jakub Wiśniowski

Results 7 comments of Jakub Wiśniowski

A quick fix for this is to add to elsewhere.models the folowing: from django.db import connection and then in function definition for SocialNetworkData: seen_model = connection.introspection.installed_models(['elsewhere_socialnetwork']) if seen_model: for network...

Thanks @Darkproduct I've rewritten the docs to include your suggestions. To summarize there are the following options: 1. simply import htmx - it'll work then but won't allow you to...

@1cg great to hear. Yes, the change allows us to simply inject/provide `htmx.org` instead of the `dist/htmx.esm.js` version. Let me push the updated docs version that reflects that change.

> Is this possible in esbuild? > > I had to use a work around like so: https://discord.com/channels/725789699527933952/1252928586206154753/1252933134396428348 @jackielii I don't use esbuild directly, however `define` (https://esbuild.github.io/api/#define) looks promising. Have...

@1cg I've updated the PR. It now reflects changes implemented by @marisst in [#123](https://github.com/bigskysoftware/htmx-extensions/pull/123) and makes the docs much simpler. I tested it with my Vite based setup and it...

Thanks @Jesmaster you've helped me to resolve my issue. I use Vite and I had to do a similar change there. In the vite.config.js file i had to replace `htmx.org`...

Have you seen this: https://github.com/bigskysoftware/htmx/issues/2628? TL;DR; Try `import htmx from "htmx.org/dist/htmx.esm";`