提交 44db8d67 编写于 作者: Z zhaoss

Vue初阶=》添加NPM的安装与使用、VS Code开发工具的安装与配置两个章节

上级 7a029b07
...@@ -129,24 +129,3 @@ helloworld.json 的格式如下: ...@@ -129,24 +129,3 @@ helloworld.json 的格式如下:
* 合成过程中,会自动检查每个知识点目录下 `config.json` 里的 `export` 里导出的习题配置,检查是否存在`exercise_id` 字段,如果不存在则生成 * 合成过程中,会自动检查每个知识点目录下 `config.json` 里的 `export` 里导出的习题配置,检查是否存在`exercise_id` 字段,如果不存在则生成
* 在 节 目录下根据需要,可以添加一些子目录用来测试代码。 * 在 节 目录下根据需要,可以添加一些子目录用来测试代码。
* 开始游戏入门技能树构建之旅,GoodLuck! * 开始游戏入门技能树构建之旅,GoodLuck!
## FAQ
**难度目录是固定的么?**
1. data/xxx 目录下的子目录是固定的初/中/高三个难度等级目录
**如何增加章目录?**
1. 在VSCode里打开项目仓库
2. 在对应的难度等级目录新建章目录,例如在 data/1.xxx初阶/ 下新建章文件夹,data/1.xxx初阶/1.yyy
3. 在项目根目录下执行 python main.py 脚本,会自动生成章的配置文件 data/1.xxx初阶/1.yyy/config.json
**如何增加节目录?**:
1. 直接在VSCode里创建文件夹,例如 "data/1.xxx初阶/1.yyy/2.zzz"
2. 项目根目录下执行 python main.py 会自动为新增节创建配置文件 data/1.xxx初阶/1.yyy/2.zzz/config.json
**如何在节下新增一个习题**:
3. 在"data/1.xxx初阶/1.yyy/2.zzz" 目录下添加一个 markdown 文件编辑,例如 yyy.md,按照习题markdown格式编辑习题。
4. md编辑完后,可以再次执行 python main.py 会自动生成同名的 yyy.json,并将 yyy.json 添加到config.json 的export数组里。
5. yyy.json里的author信息放作者 CSDN ID。
\ No newline at end of file
{ {
"node_id": "vue-220bacee40cc4d21889f4e033d3240ed", "node_id": "vue-bb040b96110d48d3931b917f7ebe1047",
"keywords": [], "keywords": [],
"children": [], "children": [],
"export": [ "export": [],
"helloworld.json"
],
"keywords_must": [], "keywords_must": [],
"keywords_forbid": [] "keywords_forbid": []
} }
\ No newline at end of file
{
"node_id": "vue-2350e9245c824ea2aef6edd98ee40f0e",
"keywords": [],
"children": [],
"export": [],
"keywords_must": [],
"keywords_forbid": []
}
\ No newline at end of file
{
"node_id": "vue-d7ef53c8a8f846f19764f86f97499768",
"keywords": [],
"children": [],
"export": [],
"keywords_must": [],
"keywords_forbid": []
}
\ No newline at end of file
{
"node_id": "vue-f8b124308ba343b0a051c8e6e766a2c3",
"keywords": [],
"children": [],
"export": [],
"keywords_must": [],
"keywords_forbid": []
}
\ No newline at end of file
{
"node_id": "vue-66e29683f0a448fca7158e030028f2c1",
"keywords": [],
"children": [],
"export": [],
"keywords_must": [],
"keywords_forbid": []
}
\ No newline at end of file
{
"node_id": "vue-fa34caf61ce9405ab91d679c12fea50f",
"keywords": [],
"children": [],
"export": [],
"keywords_must": [],
"keywords_forbid": []
}
\ No newline at end of file
{
"node_id": "vue-7c4180bf98944171bfb1ccbf3d922507",
"keywords": [],
"children": [],
"export": [],
"keywords_must": [],
"keywords_forbid": []
}
\ No newline at end of file
{
"node_id": "vue-6558b9e1ee0a46e2a5f8be815e346583",
"keywords": [],
"children": [],
"export": [],
"keywords_must": [],
"keywords_forbid": []
}
\ No newline at end of file
{ {
"node_id": "vue-3513a3b66e984f699f02a6d0bdc2e996", "node_id": "vue-be2dba1376514fd3bc4487b243115bad",
"keywords": [], "keywords": [],
"keywords_must": [], "keywords_must": [],
"keywords_forbid": [] "keywords_forbid": []
......
{
"type": "code_options",
"author": null,
"source": "helloworld.md",
"notebook_enable": false,
"exercise_id": "05c06175ece446329fd9436e2ff0f5d7"
}
\ No newline at end of file
# {在此填写标题}
{在此填写题目描述}
## 答案
{在此填写答案}
## 选项
### A
{在此填写选项A}
### B
{在此填写选项B}
### C
{在此填写选项C}
{
"node_id": "vue-f64079b76d8641818dc59c509decc2c2",
"keywords": [],
"children": [],
"export": [],
"keywords_must": [],
"keywords_forbid": []
}
\ No newline at end of file
{
"node_id": "vue-c313e3cb74fc465393dbc6c599b55cd8",
"keywords": [],
"children": [],
"export": [],
"keywords_must": [],
"keywords_forbid": []
}
\ No newline at end of file
{
"node_id": "vue-140205e8d69d4861bb7a585d6773f697",
"keywords": [],
"children": [],
"export": [],
"keywords_must": [],
"keywords_forbid": []
}
\ No newline at end of file
{
"node_id": "vue-de5f9c7f65e94d77b6c5e9651f373016",
"keywords": [],
"children": [],
"export": [],
"keywords_must": [],
"keywords_forbid": []
}
\ No newline at end of file
{
"node_id": "vue-5b755e669a7041d3ba294c9448671eec",
"keywords": [],
"children": [],
"export": [],
"keywords_must": [],
"keywords_forbid": []
}
\ No newline at end of file
{
"node_id": "vue-35ca23acc9734146a5d3950c7334b960",
"keywords": [],
"keywords_must": [],
"keywords_forbid": []
}
\ No newline at end of file
...@@ -8,14 +8,151 @@ ...@@ -8,14 +8,151 @@
"node_id": "vue-8af06c6bc7c042328de3b0ecdb8d58cb", "node_id": "vue-8af06c6bc7c042328de3b0ecdb8d58cb",
"keywords": [], "keywords": [],
"children": [ "children": [
{
"NPM的安装与使用": {
"node_id": "vue-be2dba1376514fd3bc4487b243115bad",
"keywords": [],
"children": [
{
"NPM简介与安装": {
"node_id": "vue-bb040b96110d48d3931b917f7ebe1047",
"keywords": [],
"children": [],
"keywords_must": [],
"keywords_forbid": []
}
},
{
"配置Node.js环境": {
"node_id": "vue-2350e9245c824ea2aef6edd98ee40f0e",
"keywords": [],
"children": [],
"keywords_must": [],
"keywords_forbid": []
}
},
{
"利用NPM初始化项目": {
"node_id": "vue-d7ef53c8a8f846f19764f86f97499768",
"keywords": [],
"children": [],
"keywords_must": [],
"keywords_forbid": []
}
},
{
"NPM安装模块": {
"node_id": "vue-f8b124308ba343b0a051c8e6e766a2c3",
"keywords": [],
"children": [],
"keywords_must": [],
"keywords_forbid": []
}
},
{
"生产环境和开发环境的模块安装": {
"node_id": "vue-66e29683f0a448fca7158e030028f2c1",
"keywords": [],
"children": [],
"keywords_must": [],
"keywords_forbid": []
}
},
{
"使用CNPM命令安装": {
"node_id": "vue-fa34caf61ce9405ab91d679c12fea50f",
"keywords": [],
"children": [],
"keywords_must": [],
"keywords_forbid": []
}
},
{
"批量下载模块": {
"node_id": "vue-7c4180bf98944171bfb1ccbf3d922507",
"keywords": [],
"children": [],
"keywords_must": [],
"keywords_forbid": []
}
},
{
"常用NPM命令": {
"node_id": "vue-6558b9e1ee0a46e2a5f8be815e346583",
"keywords": [],
"children": [],
"keywords_must": [],
"keywords_forbid": []
}
}
],
"keywords_must": [],
"keywords_forbid": []
}
},
{ {
"Vue入门": { "Vue入门": {
"node_id": "vue-3513a3b66e984f699f02a6d0bdc2e996", "node_id": "vue-416366ba4baf4e5ea482b063cceb0eb4",
"keywords": [], "keywords": [],
"children": [ "children": [
{ {
"HelloWorld": { "HelloWorld": {
"node_id": "vue-220bacee40cc4d21889f4e033d3240ed", "node_id": "vue-535b64bdef3448468ffc4ab3c03da022",
"keywords": [],
"children": [],
"keywords_must": [],
"keywords_forbid": []
}
}
],
"keywords_must": [],
"keywords_forbid": []
}
},
{
"VS Code开发工具的安装与配置": {
"node_id": "vue-35ca23acc9734146a5d3950c7334b960",
"keywords": [],
"children": [
{
"VS Code开发工具特点与安装": {
"node_id": "vue-f64079b76d8641818dc59c509decc2c2",
"keywords": [],
"children": [],
"keywords_must": [],
"keywords_forbid": []
}
},
{
"VS Code常用插件安装": {
"node_id": "vue-c313e3cb74fc465393dbc6c599b55cd8",
"keywords": [],
"children": [],
"keywords_must": [],
"keywords_forbid": []
}
},
{
"VS Code常用设置": {
"node_id": "vue-140205e8d69d4861bb7a585d6773f697",
"keywords": [],
"children": [],
"keywords_must": [],
"keywords_forbid": []
}
},
{
"设置新建文件的类型": {
"node_id": "vue-de5f9c7f65e94d77b6c5e9651f373016",
"keywords": [],
"children": [],
"keywords_must": [],
"keywords_forbid": []
}
},
{
"常用快速编辑技巧": {
"node_id": "vue-5b755e669a7041d3ba294c9448671eec",
"keywords": [], "keywords": [],
"children": [], "children": [],
"keywords_must": [], "keywords_must": [],
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册