Redesign by Fjella at ensure
- Install node.js: https://nodejs.org/en
- Open terminal (cmd)
- cd into folder for example command: cd C:\Users\fjella\Documents\GitHub\ox_lib__PRE-BUILD WEB\web
- run command pnpm i, this is too install node modules
- run pnpm run dev, that gives you a localhost IP you can open in browser to make changes to design
- most design elements are found here: src/features, in those folders there are alot of files attached to different elements etc in ox_lib. Make changes inside styles {{ }}
- when you are done editing go back to your terminal(cmd) and write pnpm run build
- drag that build folder into your servers ox_lib/web folder and replace everything
- enjoy!
PS: i will not be providing support on this for obvious reasons.
A FiveM library and resource implementing reusable modules, methods, and UI elements.
For guidelines to contributing to the project, and to see our Contributor License Agreement, see CONTRIBUTING.md
For additional legal notices, refer to NOTICE.md.
https://overextended.dev/ox_lib
https://github.com/overextended/ox_lib/releases/latest/download/ox_lib.zip
https://www.npmjs.com/package/@overextended/ox_lib
- Install Lua Language Server to ease development with annotations, type checking, diagnostics, and more.
- Install cfxlua-vscode to add natives and cfxlua runtime declarations to LLS.
- You can load ox_lib into your global development environment by modifying workspace/user settings "Lua.workspace.library" with the resource path.
- e.g. "c:/fxserver/resources/ox_lib"