My first project in Svelte and Typescript, really simple text drawing using NUI.
To trigger (client-side):
TriggerEvent('luke_textui:ShowUI', text, color) - Both params are string type.
To hide (client-side):
TriggerEvent('luke_textui:HideUI')
Install the dependencies:
npm install
To build for development:
npm run dev
Develop at localhost:8080.
To build for production:
npm run build
This will build the minimied code optimized for production.
All suggestions are welcome, if you encounter an issue please open a new Issue on the repository.