Deployment
Build
To deploy your app, you need to build it using the vite build
command. Add a build script to your package.json for convenience if you haven't already:
json
{
"scripts": {
"build": "vite build"
}
}
And then build your app with:
bash
$ npm run build
bash
$ pnpm run build
bash
$ bun run build
Choose Your Deployment Platform
ReactJust is designed to be platform-agnostic. You can deploy your app to any platform that supports running JavaScript in some form.
You can use prebuilt platform packages to deploy your app with minimal configuration, or even create your own. The following platforms are currently available or in development:
Platform | Status | Package |
---|---|---|
Node.js | ✅ Available | @react-just/node |
Bun | ⌛ Planned | @react-just/bun |
Cloudflare | ⌛ Planned | @react-just/cloudflare |
Vercel | ⌛ Planned | @react-just/vercel |
Netlify | ⌛ Planned | @react-just/netlify |
AWS | ⌛ Planned | @react-just/aws |