first commit

This commit is contained in:
编码猿
2024-09-27 02:06:13 +08:00
commit 852d94fbb9
36760 changed files with 3274413 additions and 0 deletions

View File

@@ -0,0 +1,75 @@
Node.js 是什么?
fs
是一个js在服务器上的运行环境
v8
c++
问:能不能让js变成后端语言?
Node.js
js 运行 靠 V8 引擎
前端开发三个阶段
1 HTML CSS table
2 html+css+js(jquery) 操作dom
mvc mvc框架
nodejs 蓬勃发展
3 mvvm angular.js
react
vue
npm 全球最大的包(插件,依赖)管理工具
npm init 初始化一个 nodejs 项目 package.json
-y
npm run xxx 使用npm运行scripts中的命令
npm install(简写 i) 插件名称 参数
参数:
--save -S 将插件保存到上线阶段 dependencies
--save-dev -D 将插件保存到开发阶段 devDependencies
-g 将插件安装到操作系统全局
npm i
devDependencies 开发阶段的插件依赖
dependencies 上线阶段的插件依赖
cnpm 淘宝
npm uninstall 插件名
node_modules 存放你项目开发中所有下载下来的插件
package-lock.json
爬虫