-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UPDATE: Add publicPath (_Base.json), deploy docs (github pages)
- Github page deploy documentation with screenshots - Vue router base path changed (webpack publicPath to /): fixed
- Loading branch information
1 parent
0ee2a66
commit 9c1511e
Showing
8 changed files
with
77 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
.DS_Store | ||
node_modules | ||
/dist | ||
|
||
|
||
# local env files | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Deploy - Github Page | ||
|
||
## 1. Create Github repository | ||
|
||
<img alt="create repository 1" src="gp_1.jpg" width="700"> | ||
|
||
<img alt="create repository 2" src="gp_2.jpg" width="700"> | ||
|
||
## 2. Clone craeted repository | ||
|
||
- Configuration your own template data - [Template configuration](https://github.com/leegeunhyeok/resume#-template-configuration) | ||
|
||
## 3. Build configuration | ||
|
||
- `src/data/_base.json` | ||
|
||
```js | ||
{ | ||
"publicPath": "/dist", // set publicPath to /dist | ||
... | ||
} | ||
``` | ||
|
||
## 4. Build | ||
|
||
```bash | ||
# Build | ||
npm run build | ||
``` | ||
|
||
and move `dist/index.html` to `./` (Repository root directory) | ||
|
||
## 5. Commit and Push | ||
|
||
```bash | ||
# Staging all changes (build result included!) | ||
git add . | ||
|
||
# Your remote/branch | ||
git push origin master | ||
``` | ||
|
||
## 6. Enjoy! | ||
|
||
🎉 Go to your Github pages! |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters