This repository is a modified version of the official htmx repo. The modifications made, are specifically for making htmx compatible with the CitizenFX server builds.
- download the latest release htmx resource
- place the resource folder somewhere in your fxserver project
- add the resource to your server.cfg
- add the following to your html head tag
<!-- HTMX --> <script type="text/javascript" src="https://cfx-nui-htmx/dist/htmx.js"></script>
- once this is done you shoud be able to use htmx within your resources
for more information about htmx you can go to their repo or website