Giter Club home page Giter Club logo

fivem-react-boilerplate-lua's Issues

Depfu Error: No dependency files found

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.

Monorepos

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!

How to deactivate the project

  • Go to the Settings page of either your own account or the organization you've used
  • Go to "Installed Integrations"
  • Click the "Configure" button on the Depfu integration
  • Remove this repo (project-error/fivem-react-boilerplate-lua) from the list of accessible repos.

Please note that using the "All Repositories" setting doesn't make a lot of sense with Depfu.

If you think that this is a mistake

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.

Could not auto-determine entry point from rollupOptions

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:

  1. Run yarn start start:game
  2. See warning

Media

image
Image 1.0 (Warning message)

image
Image 1.1 (package.json)

image
Image 1.2 (vite.config.ts)

Question: How to send data with no NUI callback

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?

Bug: Css hover elements with delay

All elements with hover selector has a delay to disappear from screen

To Reproduce

Steps to reproduce the behavior:

  1. Create any element with hover selector on css
  2. Press esc or backspace

Pressing the 'Backspace' key while the NUI menu is open breaks everything

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)

Question : Is an update needed to match the new React stuff ?

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 ! :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.