1. Create a repository (Create a repository)
Note Create a file called
username.GitHub.io
new store, whichusername
is on your GitHub用户名
2. The local repository cloned (Clone the repository)
Into the store the project folder, and then submit the project to the new repository.
<! - now ready for viewing online, address https://username.github.io, ->
3. The packaged project documents submitted
By npm run build the project will need to deploy the package to generate the dist folder, as follows, copy the following files to a local warehouse, and submitted to the online repository. PS: Attention must be
index.html
4. At this time, our online deployment program has been completed slightly github
Enter the browser https://username.github.io