Movatterモバイル変換


[0]ホーム

URL:


Skip to content
DEV Community
Log in Create account

DEV Community

Vuelancer
Vuelancer

Posted on • Edited on

     

Deno Deploy: Deploy a React App

Deploying a react application using Deno Deploy is very simple if you have created an account in deno deploy (https://deno.com/deploy)

Created a youtube video showing how to deploy react app in deno deploy.

website url:https://vuelancer-blog.deno.dev/

  • Create a react application using vite (vite.dev)
npm create vite@latest
Enter fullscreen modeExit fullscreen mode
  • Run build command to generate simple html, css, js files to deploy after your development process
npm run build
Enter fullscreen modeExit fullscreen mode
  • Run the below command insidedist 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
Enter fullscreen modeExit fullscreen mode
  • 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

If any findings/doubts, please feel free to comment

Happy coding!

Top comments(2)

Subscribe
pic
Create template

Templates let you quickly answer FAQs or store snippets for re-use.

Dismiss
CollapseExpand
 
vishals1005 profile image
vishal s
just surfing
  • Joined

good video, will watch and try deno deploy

CollapseExpand
 
vuelancer profile image
Vuelancer
150k+ views | Full-stack developer | 6+ years of experience | Youtube content creator
  • Email
  • Location
    India
  • Education
    Computer Science and Engineering
  • Pronouns
    he
  • Work
    Full-stack developer
  • Joined

thanks for the comment!

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment'spermalink.

For further actions, you may consider blocking this person and/orreporting abuse

150k+ views | Full-stack developer | 6+ years of experience | Youtube content creator
  • Location
    India
  • Education
    Computer Science and Engineering
  • Pronouns
    he
  • Work
    Full-stack developer
  • Joined

More fromVuelancer

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

Log in Create account

[8]ページ先頭

©2009-2025 Movatter.jp