nodejs环境配置

1、安装nvm

参考链接:
https://blog.csdn.net/mjh1667002013/article/details/128943885
不需要设置全局变量

nvmd 常用命令

参考链接:
https://blog.csdn.net/qq_42565994/article/details/89179900

2、安装nodejs

参考链接
https://www.runoob.com/w3cnote/nvm-manager-node-versions.html

列出远程服务器上所有的可用版本:

1
nvm ls available

安装

1
nvm install 14.21.2

【Nodejs】常用命令合集

https://blog.csdn.net/CSDNVIP2011/article/details/87796696

3、安装node-sass

参考链接:
https://www.cnblogs.com/jone-chen/p/14275888.html

第2步先执行,第3步在项目中执行

4、编译构建项目,执行。


nodejs环境配置
http://yuanql.top/2023/02/10/31_Vue/nodejs环境配置/
作者
Qingli Yuan
发布于
2023年2月10日
许可协议