Files
ClassContent/历届学生/18课程/class18_2/项目/上课项目/聊天室/笔记.txt
2024-09-27 02:06:13 +08:00

57 lines
684 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

nodejs
是一个让js运行在后端服务器上的环境
c++
nodejs
js
npm 包管理工具
npm install 插件名
npm run 命令名称
npm init -y
后端实现:消息转发
前端页面:把消息给后端
聊天功能实现核心?
ajax 单向
websocket 双向
原生js不用,用jquery
jquery?对原生js进行二次封装
官网不用 vue
原生js + jq
插件安装分为两种
全局安装:
局部安装(只针对莫个项目来安装)
npm i(install) -g 插件名
安装到开发阶段
npm i --save-dev 插件名
简写:npm i -D 插件名
安装到正式阶段
npm i --save 插件名
简写:npm i -S 插件名
项目初始化
npm i