当前位置:网站首页>npm npm
npm npm
2022-08-01 23:00:00 【爷傲奈我何1】
why
JavaScript项目包管理工具
cnpm tarn 同类型产品
初始项目
npm init
初始化项目,创建package.json的文件
npm init -y
快捷初始化项目 (选项都为yes)
目录解释
package.json
项目包管理文件
package-lock.json
下载缓存地址
node_modules
安装包下载的位置
安装 install 可以简写为 i --save-dev 简写为 -D --save 简写为 -S
全局安装
npm i jquery -g
本地安装
npm i jquery
一次性安装多个
npm i jquery vue
安装开发时依赖包
npm i axios --save-D
安装运行时依赖包
npm i jquery –S
安装该模块到指定版本
npm i jquery @版本号
卸载
卸载jquery
npm uninstall jquery
别名(简写) uninstall ->remove-> r
更新
更新jquery
npm update jquery
别名update -> up
边栏推荐
猜你喜欢

How to add a game character to a UE4 scene

From 0 to 100: Notes on the Development of Enrollment Registration Mini Programs

Deep Learning Course2 Week 2 Optimization Algorithms Exercises

Prufer sequence

D - Linear Probing- 并查集

小程序毕设作品之微信美食菜谱小程序毕业设计成品(8)毕业设计论文模板

2022年最新河北建筑八大员(机械员)模拟考试题库及答案

Ten years after graduation, financial freedom: those things that are more important than hard work, no one will ever teach you

复现gallerycms字符长度限制短域名绕过

PHP算法之电话号码的字母组合
随机推荐
【SeaTunnel】从一个数据集成组件演化成企业级的服务
xctf attack and defense world web master advanced area webshell
三、mysql 存储引擎-建库建表操作
perspectiveTransform warpPerspective getPerspectiveTransform findHomography
Interpretation of the paper (GSAT) "Interpretable and Generalizable Graph Learning via Stochastic Attention Mechanism"
萍不回答
Graph Theory - Strongly Connected Component Condensation + Topological Sort
系统可用性:SRE口中的3个9,4个9...到底是个什么东西?
欧拉路径与欧拉回路
img 响应式图片的实现(含srcset属性、sizes属性的使用方法,设备像素比详解)
Background project Express-Mysql-Vue3-TS-Pinia page layout-sidebar menu
visual studio code multiple editing
隔离和降级
SRv6 L3VPN的工作原理
dvwa 通关记录1 - 暴力破解 Brute Force
No more rolls!After joining ByteDance for a week, he ran decisively.
牛客多校4 A.Task Computing 思维
How to add a game character to a UE4 scene
美赞臣EDI 940仓库装运订单详解
论文解读(GSAT)《Interpretable and Generalizable Graph Learning via Stochastic Attention Mechanism》