-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from zhangzhuang15/dev
add intro of vscode, its config, its plugins and its tasks.json;
- Loading branch information
Showing
43 changed files
with
1,630 additions
and
50 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
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,31 +1,56 @@ | ||
## Description | ||
|
||
JasonZhang's personal website | ||
|
||
in this website, you could see: | ||
|
||
- JasonZhang's introduction | ||
- front-end development articles | ||
- rust articles | ||
- go articles | ||
|
||
## Tech | ||
- `Vue3` + `vitepress` | ||
- vite | ||
|
||
- `Vue3` + `vitepress` | ||
- vite | ||
- naiveUI ( I hear it from a chatgpt project) | ||
- [giscus](https://giscus.app/zh-CN), a comment component | ||
|
||
## How do I create this project | ||
|
||
- `npx vitepress init`, automatically create the project | ||
- install other packages I need | ||
- install other packages I need | ||
- add some new features, insert new code and adopt matched techs | ||
|
||
> if someone wants to make a project organized by `vite`, run `pnpm create vite` | ||
## Notice During Development | ||
at early time, `.vitepress` is located in `docs` directory, | ||
|
||
at early time, `.vitepress` is located in `docs` directory, | ||
I drag the `.vitepress` directory out from `docs` directory, | ||
and locate it in the root project directory, so I have to change | ||
and locate it in the root project directory, so I have to change | ||
the command of starting dev server: | ||
before: `vitepress dev docs` | ||
|
||
> in this way, it means that `.vitepress` is under `docs` directory. | ||
after: `vitepress dev` | ||
|
||
## GitHub workflow | ||
|
||
I create a workflow named 'Deploy' which is defined in `.github/workflow/deploy.yml`. | ||
|
||
Every time I create PR, it will helps me re-deploy my website. | ||
|
||
But sometimes, it doesn't work very well. My website will fall back to the default README page of Github style. I do a research, and catch the reason: `npm ci`. | ||
|
||
When workflow runs and try to install dependencies with npm, if it doesn't find package-lock.json, `npm ci` might be failed. | ||
|
||
By default, I use pnpm locally, to make everything simple, I add | ||
[email protected] action into deploy.yml. | ||
|
||
> make sure of pnpm-lock.yml, if it doesn't exist, pnpm install will be failed. | ||
Everything works well. | ||
|
||
If you want to search github actions or apps, please visit [github markplace](https://github.com/marketplace?category=&type=actions&verification=&query=setup-node) |
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,23 @@ | ||
--- | ||
title: "其它资源" | ||
page: true | ||
aside: true | ||
--- | ||
|
||
## Description | ||
|
||
- 图像资源 | ||
- icon 资源 | ||
- 模型资源 | ||
- 技术无关的资源 | ||
|
||
## 模之屋 | ||
|
||
[前往](https://www.aplaybox.com/) | ||
|
||
<LoadingPreviewCard url="https://www.aplaybox.com/" /> | ||
|
||
在上面访问原神官方账号,点赞+收藏,即可下载原神角色模型,比如 胡桃、芙宁娜、那维莱特、钟离、万叶、 | ||
泳装芭芭拉... | ||
|
||
<Giscus /> |
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.
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.
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.
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.
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.
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
Oops, something went wrong.