project-error / fivem-react-boilerplate-lua Goto Github PK
View Code? Open in Web Editor NEWBasic Lua & React (TypeScript) boilerplate for FiveM
Home Page: https://projecterror.dev
License: MIT License
Basic Lua & React (TypeScript) boilerplate for FiveM
Home Page: https://projecterror.dev
License: MIT License
How to use Fivem Natives in the JS?
Hello,
We've tried to activate or update your repository on Depfu and couldn't find any supported dependency files. If we were to guess, we would say that this is not actually a project Depfu supports and has probably been activated by error.
Please note that Depfu currently only searches for your dependency files in the root folder. We do support monorepos and non-root files, but don't auto-detect them. If that's the case with this repo, please send us a quick email with the folder you want Depfu to work on and we'll set it up right away!
Please note that using the "All Repositories" setting doesn't make a lot of sense with Depfu.
Please let us know by sending an email to [email protected].
This is an automated issue by Depfu. You're getting it because someone configured Depfu to automatically update dependencies on this project.
Describe the issue
Hi, i'm trying to use this boilerplate but if i try to run this command yarn start start:game
i get the next message (image -1.0) so i cant be able to make the build of my project. This is a blank project
Expected behavior
Get the new build resources after change has made
To Reproduce
Steps to reproduce the behavior:
yarn start start:game
Media
I made a vehicle hud that displays speed, gear and rpm when inside a vehicle. It doesn't have any buttons to click, so it doesn't use the native RegisterNUICallback
at all. I was wondering how I can send data (such as speed, gear, etc.) back to React from the client-sided Lua code?
All elements with hover selector has a delay to disappear from screen
To Reproduce
Steps to reproduce the behavior:
The issue is when you have the NUI menu open, or any NUI element open, and you press the 'backspace' key it will make the UI disappear and your curser will remain. You need to restart the script to fix it.
There is JSON error in the client console stating there is an issue with the JSON input. (line 1 of the HTML)
--EDIT--
Here is the error code if you need it:
Uncaught (in promise) SyntaxError: Unexpected end of JSON input (@scriptname/web/build/index.html:1)
Hey !
I'm wanting to start my first React project in FiveM but I've some questions that came up while reading React's official documentation. It seems that some things have changed a lot lately in React and I would like to know if there would be needed to update this boilerplate to match the latest standards ?
Just wanna know if I can start learning without the hassle to update this later
Thanks in advance ! :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.