Skip to content
This repository has been archived by the owner on May 11, 2024. It is now read-only.
/ altv-typescript-vue Public archive
generated from Stuyk/altv-typescript

A Typescript Boilerplate for alt:V with simple setup and usage. Includes Vue with Vite.

Notifications You must be signed in to change notification settings

Stuyk/altv-typescript-vue

Repository files navigation

Typescript Boilerplate for alt:V with Vue - v5.0.1

Super Fast Compilation

Important

This boilerplate will no longer be updated. Consider using Rebar Framework for more up-to-date practices, and a plugin system.

⭐ This repository if you found it useful!

Features

A simple Typescript Boilerplate that builds incredibly fast using the SWC Library.

  • Auto Refresh Server
  • Auto Compile TypeScript Files
  • Auto Download Resources
  • Single Resource Code Support
  • Fastest Auto Reconnect Time on Recompile
  • Built-in Vue for WebViews

Installation

Clone the Repository

Use the command below in any terminal, command prompt, etc.

git clone https://github.com/Stuyk/altv-typescript-vue

Install the Repository

Use the command below in any terminal, command prompt, etc.

cd altv-typescript-vue
npm install

Download Server Files

Use the command below in any terminal, command prompt, etc. This will download all necessary server files from an additional package used by this project.

npm run update

Start Production Server (Windows)

Run this command to run the server in production mode.

npm run windows

Start Production Server (Linux)

Run this command to run the server in production mode.

npm run linux

Start Developer Server

Run this command to run the server in development mode.

This will automatically reconnect your alt:V Client if you have debug mode turned on.

npm run dev

WebView Previews

If you need to modify the WebView and want to work out of the browser, use the following command.

npm run vue-dev

End Server Runtime

Use the key combination ctrl + c to kill your server in your terminal, command prompt, etc.

How to Add Mods, and New Resources

Always add your already compiled resources & mods into the resources folder.

About

A Typescript Boilerplate for alt:V with simple setup and usage. Includes Vue with Vite.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published