Illenium appearance how show interface in web browser

Hey i want know if anybody know how to show interface of illenium appearance in the browser for edit it bcs when i do npm run dev its show blank interface…

illenium source UI : GitHub - iLLeniumStudios/illenium-appearance-source: UI Source for illenium-appearance
illenium GitHub - iLLeniumStudios/illenium-appearance: fivem-appearance for qb-core and ESX framework, packed with a lot of features

if any body know i take :3

thanks everyone

1 Like

The UI is going to be hidden so you have to show it…
This would be basic web development.

1 Like

You cannot, you’ll need to reconnect to see if every modification you’ve made.

I forgot the exact reason but @Manason tried this a few years ago and there is some weird issue that prevents it from being modified normally.

1 Like

Hey dude! The reason you’re getting a blank screen when running npm run dev for illenium-appearance-source is because the UI is trying to call FiveM native functions like fetchNui or window.invokeNative, and these don’t exist in a normal browser. That’s why nothing shows up. Try my suggestion first

  1. First Step
  • Run npm run build
  • Put the dist/ folder inside your illenium-appearance resource
  • Start it in your server and open the UI in FiveM
  • Everything will work normally inside the game
  1. Second Step
  • You need to manually add mock data in the code to simulate FiveM responses
  • Example:
if (!window.fetchNui) {
  setPlayerModel("mp_m_freemode_01"); // fake data for testing
}
2 Likes

no. try it you will see its not “basic”

2 Likes

okay thanks bro i think its will NUI states dont simulate backend

1 Like

okay ty so we need to have the script ingame

1 Like