Jump to content
RAGE Multiplayer Community

Typescript and Vue.js Starter Template 1.1.0

   (3 reviews)

3 Screenshots

About This File

This is RageMP start server template. It's using typescript (server-side and client-side), Vue.js for CEF and including simple log in/sign up system.

Thanks CocaColaBear for typescript types:

Server-side: https://github.com/CocaColaBear/types-ragemp-s

Client-side: https://github.com/CocaColaBear/types-ragemp-c

 

Installation:

  1. Install Ragemp server.
  2. Put all files in server-files directory.
  3. Run npm i by cmd inside server-files, server-files/app/server, server-files/app/client, server-files/app/cef.
  4. Server using MySQL as a database. So you have to import sql structure file in to your database. Import sql structure file structure.sql into it.
  5. Modify your account data inside app/server/Options/ in files sDB.ts and sNodemailer.ts
  6. Run build-server.bat file inside server-files directory with server.exe.
  7. Now you can modify src code in app and test your server!

 

Also available on github: https://github.com/MarkCavalli/rage-server-start-template


What's New in Version 1.1.0   See changelog

Released

- Fixed ts client and server rage types

- Updated packages

  • Like 5

User Feedback

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest

WizzarD

   1 of 1 member found this review helpful 1 / 1 member

Looks great, but everytime i try to use ragemp-c and ragemp-s types together my typescript is not compiled, also with this template:
 

Property 'joaat' does not exist on type 'Mp'

It looks like the compiler select the wrong type definition. Any ideas?

Response from the author:

I think, you can add a new interface via index.d.ts

Link to comment
×
×
  • Create New...