Deployment to Vercel 404 not found when pasting URL

Maybe one of you ran into the same issue i am clueless on this one. I deployed my refine project for the first time to Vercel 🎆 . Everything is working fine. When i use the Navigation via the Sidebar or any Link everything is working fine. However when i copy paste a URL into the browser e.g. https://finanzplaner-frontend-refine-mui.vercel.app/revenues vercel gives me a 404 not found error. Again if i click on revenues via Link it works fine. If i build the project and run vite preview locally everything works so it's only on Vercel. Any help appreciated. "@refinedev/react-router-v6": "^4.1.0",
K
kapa.ai385d ago
Hi @zomh. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
K
kapa.ai385d ago
---------------------- Hmm, I don't know enough to give you a confident answer yet. However, you can check the refine documentation for more information on handling routing and deployment: - React Router v6 documentation (https://refine.dev/docs/packages/documentation/routers/react-router-v6) - Deployment guide (https://refine.dev/docs/tutorial/getting-started/deploy-project) ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
React Router v6 | refine
refine provides router bindings and utilities for React Router v6. It is built on top of the react-router-dom package. This package will provide easy integration between refine and react-router-dom for both existing projects and new projects.
6. Deploying your app to the web | refine
To make your app accessible to the public, you can use a hosting service to build and deploy your site live on the web. In this tutorial, we will use Netlify, but you are welcome to choose your preferred hosting service.
K
kapa.ai385d ago
<@240974567730970625> kapa.ai is still learning and improving, please let us how it did by reacting below
X
xenial-black385d ago
No description
O
Omer385d ago
Stack Overflow
Why does react-router not works at vercel?
I am trying to publish a serverless web to vercel. I want to use react-router and this works good on my computer but when I deploy it It doesn't works Can somebody help me? (I want to do it without
X
xenial-black385d ago
thanks i didnt know that yes that worked @Omer 🫶
More Posts
Create Page - Autoselect Autocomplete based on id on parameterHi, i want to make my create page automatically selects the value on the dropdown autocomplete basednested table inside show pageI want to display table that shows list of relations using nested API. I want to do similar to the pCustomized Layouthi. I'm trying to create a react template with strapi v4 and ant design, while creating the project,AntdInferencer not working even adjusting the new APIreturn <AntdInferencer resource="blogs" action="list" />;how to pass additional "meta" for resources to dataProvider?I'm writing a new dataProfider for the WordPress REST API. I need to pass additional parameters for cliis there a shortcut syntax for cli i wanted to create a project that has the answer for the cli promHello everyone I just found this projectHello everyone I just found this project on twitter. And I want to understand the working logic. As Use query parameters to set the initial form valuesCan I use query parameters to set the initial form values for antd's useform? For example, in app.tHow to pass initial values to antd CreateButton componentHi how can I pass initial values to antd CreateButton componentError: A component is changing an uncontrolled input to be controlled.Using `MuiInferencer` on an api that has a boolean field (isActive) it generates the following code:inferencer: determine the relations for more than 1 foreign keys referring to the same target tableHello, i have a table with 3 foreign keys inside a table referring to the same one table. How shouldAdd header button conditionally to antd show componentHow can I add a header button to antd show component based on a if else statementuserwhen i am logged in, I am trying to see my profile page. however, when i console.log the user, I getError refine v4 and antd v5I have a style.less files and used carco config After migration from v3 to v4 at refine gives me errHow to Integrate Refine basic login with token based JWT auth?Hi, I want to integrate refine login with my backend login service built with JWT auth via API.Error: At least one choice must be selectableI am trying to follow the getting started tutorial on refine.dev from our corporate network. The sim