Custom Tablet Apps
1) Create a resource with the html filling the whole page
2) Add sn_lib in your fxmanifest.lua
shared_script '@sn_lib/main.lua'3) Register App
SNLib.registerTabletApp({
id = 'appID',
label = 'App Label',
icon = 'nui://'..GetCurrentResourceName()..'/app/icon.png', -- update to your path
url = 'nui://'..GetCurrentResourceName()..'/app/index.html', -- update to your path
})Last updated