提交 702d0056 编写于 作者: Z zhaoss

1.1.6、1.1.7小节添加习题,完善关键字

上级 6ce7d03d
......@@ -34,4 +34,4 @@ latest 指明安装最稳定版本
### C
所有选项都不对
三个选项都不对
{
"type": "code_options",
"author": null,
"author": "zhaoss",
"source": "exercises.md",
"notebook_enable": false,
"exercise_id": "37ce3e6fe75d47f1ad95c25f19ad0543"
......
{
"node_id": "vue-fa34caf61ce9405ab91d679c12fea50f",
"keywords": [],
"keywords": [
"cnpm安装"
],
"children": [],
"export": [],
"keywords_must": [],
"export": [
"exercises.json"
],
"keywords_must": [
"cnpm"
],
"keywords_forbid": []
}
\ No newline at end of file
{
"type": "code_options",
"author": null,
"source": "exercises.md",
"notebook_enable": false,
"exercise_id": "82494bef3336468ebcf1ae9409e85089"
}
\ No newline at end of file
# CNPM安装依赖
npm安装插件是从NPM官网下载对应的插件包,该网站的服务器在国外,经常会出现下载缓慢或出现异常,这时便需要找到另外的方法提供稳定的下载,这个方法就是cnpm。那么cnpm是通过什么来进行下载的呢?<br/><br/>
## 答案
淘宝镜像
## 选项
### A
京东镜像
### B
腾讯云
### C
华为云
\ No newline at end of file
{
"node_id": "vue-6558b9e1ee0a46e2a5f8be815e346583",
"keywords": [],
"keywords": [
"npm常用命令"
],
"children": [],
"export": [],
"keywords_must": [],
"export": [
"exercises.json"
],
"keywords_must": [
"npm常用命令"
],
"keywords_forbid": []
}
\ No newline at end of file
{
"type": "code_options",
"author": null,
"source": "exercises.md",
"notebook_enable": false,
"exercise_id": "25add1c0042b4d60922302c7d00ce043"
}
\ No newline at end of file
# 常用NPM命令
我们可以通过npm install -g <module-name> 命令安装全局依赖,那么关于卸载全局依赖下列说法正确的是?<br/><br/>
## 答案
可以通过执行 npm uninstall -g 来卸载全局依赖
## 选项
### A
可以通过执行 npm uninstall -g 或 cnpm uninstall -g 来卸载全局依赖
### B
可以通过执行 npm uninstall 来卸载全局依赖
### C
三个选项都不对
{
"node_id": "vue-7c4180bf98944171bfb1ccbf3d922507",
"keywords": [],
"children": [],
"export": [],
"keywords_must": [],
"keywords_forbid": []
}
\ No newline at end of file
......@@ -90,27 +90,26 @@
{
"使用CNPM命令安装": {
"node_id": "vue-fa34caf61ce9405ab91d679c12fea50f",
"keywords": [],
"children": [],
"keywords_must": [],
"keywords_forbid": []
}
},
{
"批量下载模块": {
"node_id": "vue-7c4180bf98944171bfb1ccbf3d922507",
"keywords": [],
"keywords": [
"cnpm安装"
],
"children": [],
"keywords_must": [],
"keywords_must": [
"cnpm"
],
"keywords_forbid": []
}
},
{
"常用NPM命令": {
"node_id": "vue-6558b9e1ee0a46e2a5f8be815e346583",
"keywords": [],
"keywords": [
"npm常用命令"
],
"children": [],
"keywords_must": [],
"keywords_must": [
"npm常用命令"
],
"keywords_forbid": []
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册