/cfx-htmx

htmx - made compatible for CitizenFX servers

Primary LanguageJavaScriptOtherNOASSERTION

CFX HTMX

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.

Installation

  1. download the latest release htmx resource
  2. place the resource folder somewhere in your fxserver project
  3. add the resource to your server.cfg
  4. add the following to your html head tag
    <!-- HTMX -->
    <script type="text/javascript" src="https://cfx-nui-htmx/dist/htmx.js"></script>
  5. once this is done you shoud be able to use htmx within your resources

More information

for more information about htmx you can go to their repo or website