How To Deploy A React App To GitHub Pages
Автор: Code With Bubb
Загружено: 2021-05-04
Просмотров: 4451
Описание:
In this video, i'll show you how you can Deploy A React App To GitHub pages quickly and easily!
How To Deploy A React App To GitHub Pages
-------------------------------------------------------------------------
00:00 Introduction
00:31 GitHub pages overview
01:58 Example GitHub page project
04:05 Using gh-pages package
06:51 Summary
So if you're building a portfolio of React projects that you have worked on or just want to show off some of your work, then you can use the free hosting provided by GitHub to host your apps.
To get started in this React tutorial, we'll look at how GitHub pages work and how you can deploy your code to a specific project URL by committing your code to a specific branch within your Git repository.
Once you've understood the concept and the challenges it presents, we'll take a look at an npm package, gh-pages, which can be used to automate this process and do the hard work for us.
So if you're looking to deploy React apps to GitHub pages (or any other kind of static app for that matter) this React tutorial will get you up and running quickly.
If your app has any kind of back-end services like a Node app or similar server-side code, you would need to host that separately as GitHub pages can only host static content like HTML, CSS and JavaScript.
Otherwise, you will be able to deploy react apps to GitHub pages using this technique!
#react #Githubpages Channel Handle @codebubb
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: