Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5cc1eee
commit 33c8c6f
Showing
4 changed files
with
121 additions
and
18 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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# 答粉丝问: 山月,你平时是如何学习的? | ||
|
||
今日晚上我在 B 站直播面试题解答时,有人提问: 山月老师,你平时是怎么学习的? | ||
|
||
提升自己最有效的方法永远是去解决项目中的痛点问题,然而这有可能并不适合所有人。 | ||
|
||
那就退而求其次: **去熟悉你们项目**。如何熟悉项目也是一个技术活,我总结了以下步骤,用时一个月 | ||
|
||
1. 查看项目中 `package.json`,去熟悉其中的 `dependencies` | ||
+ 在 npm 官方仓库中搜索每一个库,查看文档,必要时了解该库的源码 | ||
+ 在项目中全局搜索该库,了解该库在项目中做了什么事,解决了什么问题 | ||
1. 查看项目中 `package.json`,去熟悉其中的 `scripts` | ||
+ `npm scripts` 总是与前端工程化沾点关系,如打包、测试、发包、格式化。如 `prepublishOnly` 与 `prepare` 是什么 | ||
1. 查看项目中 `package.json`,查看文档,了解所有字段的含义 | ||
1. 查看项目中的配置文件,一般高度封装的项目中就有一大堆配置文件,查看其通用配置,如 `postcss.config.js`、`tsconfig.js` 等,查看文档 | ||
1. 查看项目中的配置文件,一般高度封装的项目中就有一大堆配置文件,查看其不通用配置,如关于环境变量、CICD、部署之类,查看文档 | ||
1. 查看项目中的目录结构,查看其它文件目录的职责,如 `.gitignore`、`node_modules` 层次等 | ||
|
||
完 |
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,8 @@ | ||
# XXX 在平时工作中用不到 | ||
|
||
> "prepare" filename:package.json org:vuejs | ||
+ 如何模糊匹配 | ||
|
||
+ 终端介绍 | ||
|
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
33c8c6f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs: