惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Google DeepMind News
Google DeepMind News
Stack Overflow Blog
Stack Overflow Blog
Hugging Face - Blog
Hugging Face - Blog
博客园_首页
T
The Blog of Author Tim Ferriss
博客园 - 叶小钗
N
Netflix TechBlog - Medium
腾讯CDC
C
Check Point Blog
P
Proofpoint News Feed
Engineering at Meta
Engineering at Meta
GbyAI
GbyAI
S
SegmentFault 最新的问题
F
Fortinet All Blogs
美团技术团队
U
Unit 42
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
博客园 - 司徒正美
F
Full Disclosure
Recorded Future
Recorded Future
D
DataBreaches.Net
博客园 - 【当耐特】
Martin Fowler
Martin Fowler
J
Java Code Geeks
I
InfoQ
Y
Y Combinator Blog
A
About on SuperTechFans
AI
AI
爱范儿
爱范儿
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Forbes - Security
Forbes - Security
W
WeLiveSecurity
M
MIT News - Artificial intelligence
雷峰网
雷峰网
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Simon Willison's Weblog
Simon Willison's Weblog
Schneier on Security
Schneier on Security
The GitHub Blog
The GitHub Blog
Security Archives - TechRepublic
Security Archives - TechRepublic
aimingoo的专栏
aimingoo的专栏
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
G
GRAHAM CLULEY
Know Your Adversary
Know Your Adversary
Latest news
Latest news
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
D
Docker
Recent Commits to openclaw:main
Recent Commits to openclaw:main
量子位
V2EX - 技术
V2EX - 技术
Project Zero
Project Zero

博客园 - 笨功夫才是真功夫

TortoiseSVN实现excel文件差异比对(集成ExcelMerge)[转] git仓库迁移 centos7.6 nginx配置ssl证书 在Debian12上安装mysql 8.0 Mysql8.0设置大小写不敏感解决方案[转] debian下常见问题 bash脚本的输入参数解析 python常用脚本 mysql数据库备份脚本 redis安装和运维 docker环境下安装RabbitMQ Linux系统设置开机启动(草稿) 在Windows10部署kibana Elasticsearch监控 Flink cdc实践(陆续更新) 在windows下安装mysql 8.1 VMware虚拟机开机自动启动 停止windows10的系统更新 elasticsearch安装-集群 elasticsearch安装-单实例
vue开发环境搭建
笨功夫才是真功夫 · 2024-04-29 · via 博客园 - 笨功夫才是真功夫

一、安装nvm

在工作中可能会遇到需要使用多个node版本的时候,nvm正为解决这个而生,NVM(Node Version Manager)是一个用于管理 Node.js 版本的工具。
更多信息参考 https://nvm.uihtm.com/

  • 1、nvm换镜像源

  • 2、安装node

    • 查看可用的node版本,nvm list available
    • 查看本地可用的node, nvm ls
    • nvm install 19.1.0
    • 切换node,nvm use 19.1.0
    • 查看版本nvm
      • node -v
    • npm -v

二、安装pnpm

优点:快,磁盘利用率更高

  • npm i -g pnpm
  • 查看版本,pnpm -v
  • pnpm 查看镜像源
    pnpm config get registry
  • pnpm配置淘宝镜像
    pnpm config set registry https://registry.npmmirror.com

三、安装git

四、安装VsCode

  • 安装常用插件
    • EditorConfig for VS Code --代码规范插件
    • GitHistory
    • TypeScript Vue Plugin
    • Vue language Features --vue语法校验和提示。已改名为Vue - Official
  • 安装依赖,pnpm install
  • 运行, pnpm run dev

posted @ 2024-04-29 11:03  笨功夫才是真功夫  阅读(133)  评论()    收藏  举报