This repository is a basic boilerplate for getting started with Angular v17 in RAGE Multiplayer. It contains several helpful features and was generated with the Angular CLI. The project was setup using SCSS as stylesheet format, it is for both browser and in-game based development workflow.
Clone the repository and use npm install, after installing the packages use:
ng servefor development mode, it's going to watch the files and build the application upon changes. You can create the browser on the generated address.ng buildto build the application.
- Create the browser to the dev server of angular or the build files.
- Put this event in client-side, this is a middleman event for making the connection between UI - Server side.
mp.events.add('CALL_SERVER', (eventName, ...args) => {
mp.events.callRemote(eventName, ...args)
});- You're all done! If you did everything mentioned up correctly, you should have an RAGE:MP + Angular v17 project running with no problem.
