Relative Content

Tag Archive for reactjslaravel

Uncaught (in promise) TypeError: this.resolveComponent is not a function

I make an input to add data on my dashboard, the data store is correct, but in the console view I saw an error that mentions resolveComponent. But there’s no function called resolveComponent in my code, so I clicked and I saw this error inside the router.ts file, so I checked that file, but I didn’t see such a file inside my node_modules. I used React and Laravel. Please help me fix this issue. Because of this issue, I couldn’t display a flash message. Thanks in advance.

Uncaught (in promise) TypeError: this.resolveComponent is not a function

I make an input to add data on my dashboard, the data store is correct, but in the console view I saw an error that mentions resolveComponent. But there’s no function called resolveComponent in my code, so I clicked and I saw this error inside the router.ts file, so I checked that file, but I didn’t see such a file inside my node_modules. I used React and Laravel. Please help me fix this issue. Because of this issue, I couldn’t display a flash message. Thanks in advance.

Uncaught (in promise) TypeError: this.resolveComponent is not a function

I make an input to add data on my dashboard, the data store is correct, but in the console view I saw an error that mentions resolveComponent. But there’s no function called resolveComponent in my code, so I clicked and I saw this error inside the router.ts file, so I checked that file, but I didn’t see such a file inside my node_modules. I used React and Laravel. Please help me fix this issue. Because of this issue, I couldn’t display a flash message. Thanks in advance.

Uncaught (in promise) TypeError: this.resolveComponent is not a function

I make an input to add data on my dashboard, the data store is correct, but in the console view I saw an error that mentions resolveComponent. But there’s no function called resolveComponent in my code, so I clicked and I saw this error inside the router.ts file, so I checked that file, but I didn’t see such a file inside my node_modules. I used React and Laravel. Please help me fix this issue. Because of this issue, I couldn’t display a flash message. Thanks in advance.

Laravel-react project not loaded in android and iOS devices

I use Laravel 11 to create a laravel-react project. Some pages such as login, register, welcome, etc. are created automatically by setting up laravel-react. This pages work properly in desktop but in mobile devices (android, iOS, etc.) do not work (do not load in fact). I check it in chrome and Samsung browser and safari but it not work at all. Do you encounter with these problem? How can I deal with it?

File download in react and laravel

So I am trying to download a pdf file that is stored in my uploads directory within the public folder. I am using a react frontend and a laravel backend. Here is how I am handling the logic in the frontend