5 Replies
Hi @dreamer9067. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
To create a production build of your refine application, you can use the following command:
This command is equivalent to
next build
, react-scripts build
, or vite build
, depending on the framework you are using. It creates a production build of your app.
For more detailed usage, you can refer to the documentation of the respective frameworks:
- Create React App documentation (https://create-react-app.dev/docs/available-scripts)
- Vite documentation (https://vitejs.dev/guide/#command-line-interface)
- Next.js documentation (https://nextjs.org/docs/api-reference/cli)
- Remix documentation (https://remix.run/docs/en/v1/other-api/dev)
Source: refine CLI documentation (https://refine.dev/docs/packages/documentation/cli)
----------------------
Note: you can ask me a follow up question by @ mentioning me again
:speech_balloon:
----------------------<@560876002046377984> kapa.ai is still learning and improving, please let us how it did by reacting below
equal-aquaOP•2y ago
@kapa.ai how to serve dist folder created by npm run build ??
Let me check the knowledge base for you. One moment! :books:
----------------------
I'm sorry, but the provided extracts do not contain specific information on how to serve the
dist
folder created by npm run build
for a refine application. However, typically, you would use a static server to serve the dist
folder. Please refer to the official documentation or resources for more detailed instructions.
----------------------
Note: you can ask me a follow up question by @ mentioning me again
:speech_balloon:
----------------------<@560876002046377984> kapa.ai is still learning and improving, please let us how it did by reacting below