1/30/2024 0 Comments Microsoft azure storage explorerOnce the deployment completes, click Browse to Website in the prompt to view your freshly deployed website. > If you have a build, out, or dist directory, you'll see it as an option to deploy from. Select the build output from your current workspace if you have your app open already or browse to the directory containing your compiled application code Make sure you've compiled your app (run npm run build if you created a sample from create-react-app) prior to deploying it to Azure. Tip: Looking for a sample app to deploy? Run npx create-react-app my-react-app to create one Once you have created your Storage Account, right click on the Storage Account and select "Deploy to Static Website via Azure Storage.". For classic static websites, use the error document to customize your 404 page. Index.html is used for the error document because modern Single Page Applications (SPAs) such as React will handle errors in the client.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |