Typescript and Vue.js Starter Template 1.0.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 directory with server.exe.
  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 npm i by cmd inside app/server/cef directory.
  7. Run npm run build by cmd inside server-files directory with server.exe.
  8. Now you can join into your server!

Commands:

npm run build - Create a full production build.

npm run watch-server - Create a server development build and start hot reloading for app/server and app/client

npm run watch-cef - Create a CEF development build and start hot reloading for client_packages/cef

 

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

  • Like 5



User Feedback

Create an account or sign in to leave a review

You need to be a member in order to leave a review

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

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

Share this review


Link to review
Lynx

  

Nice and well done.

Share this review


Link to review
Jaimuzu

  

You beast. Another epic resource  

Share this review


Link to review