Dot Env settup

hi @refine-support-bot how to setup dotenv on refine with react
K
kapa.ai369d ago
Hi @purna543. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: Sorry @purna543, I seem to be having a bit of trouble. Don't worry though, I've pinged my supprt and they will try to fix me up! :technologist: Perhaps try again in 15mins?
F
flat-fuchsia369d ago
@team please help me here
E
exotic-emerald369d ago
Hey @purna543 no special setup required by refine actually. Which platform are you using? You can check out their docs about environment variables 🚀
F
flat-fuchsia369d ago
i have integrated vite
E
exotic-emerald369d ago
Check this docs out in Vite https://vitejs.dev/guide/env-and-mode.html I think this will get you to the right direction
Vite
Next Generation Frontend Tooling
F
flat-fuchsia369d ago
tq
More Posts
Cannot find module ‘../scripts/start’ after migration from v3 to v4Hello all, First, thank you very much for refine, it so much fun working with it. I encoutred a proCustomize error message when an action button is clicked in the list pagehi guys, I am having a little trouble with customizing the error message in the toast. when a user hCustom api endpoint for fetching itemsHi guys, I'm new to Refine - I wanted to know if it's possible to prevent the default fetch url to igraphql schema exampleHi. I am trying to create my own graphql backend based on the graphql dataprovider that is provided Problem running refinefoods v4 demoHi, i used: npm create refine-app@latest -- --example finefoods-mui And when running in windows gdataproviderI have Hasura-Graphql on top of Postgres which I used in Refine Graphql data provider. I have a tablInferencer changeIt is possible to make changes in the Inferencer templates since my tables do not have the id columnupdate refine 4.10execute yarn run refine update to 4.10 and it no longer makes the queries it keeps loading the respoWhere is the best place to add an error handler for the automatic notifications of success/error?Hi guys, I have built a lot of things now and its time to add logic to the error notifications that using strapi v4 media uploader trying to get existing files getting a fileList errorwhen I use strapi media uploader and there is an existing file when I load my edit page I get the fowhat is the correct way to list media in the interface export when using strapi v4 media uploader?if I am using strapi with the media uploader, what would the correct way to list that media in the iHow to add custom page(like dashboard) in nextjs?i want to add a dashboard page in refine base-on nextjshow to configure refine to present the url in a sub directoryI have a project in refine which is installed in a sub directory (eg: http.site.com/subfolder). Howchange faviconhow about dev how can i change the favicon.icoSameSite attributeHi, Running the basic cli generated site with google login I get this error in the console. Indicahow do i import a refine ant table of admin panel as pdf can i do it just like how i do with normalhow do i import a refine ant table of admin panel as pdf can i do it just like how i do with normal