🔧 Deno Deploy: Deploy a React App
Nachrichtenbereich: 🔧 Programmierung
🔗 Quelle: dev.to
Deploying a react application using Deno Deploy is very simple if you have created an account in deno deploy (https://deno.com/deploy)
- Create a react application using vite (vite.dev)
npm create vite@latest
- Run build command to generate simple html, css, js files to deploy after your development process
npm run build
- Run the below command inside
dist
folder to deploy the static files to deno deploy
deployctl deploy --project=<project-name> https://jsr.io/@std/http/1.0.9/file_server.ts
- A new project will be created in deno deploy, and the files will be deployed in dev & prod domains.
Note:
- After first deployment, all the deployments will happen only on dev domain, we have to manually promote the deployment to production
Happy coding!
...
🔧 Deno Deploy: Deploy a React App
📈 39.31 Punkte
🔧 Programmierung
🔧 Deno Fresh PostCSS: Future CSS with Deno
📈 32.69 Punkte
🔧 Programmierung
🔧 Building a Simple Todo App with Deno and Oak
📈 18.88 Punkte
🔧 Programmierung
🔧 How to migrate your Node.js app to Deno 2.0
📈 18.88 Punkte
🔧 Programmierung
🔧 Getting Started with Deno Fresh & the Platform
📈 16.34 Punkte
🔧 Programmierung