Macos 安装前端环境
1、findar 新建目录 projects
2、安装brew 使用中科大镜像, 手动配置path
3、brew install git
4、 git clone git@http://10.10.9.201/software/dreame_sorting_app.git
5、安装vscode/hbuilderx/node
6、rustup切换镜像并安装https://rsproxy.cn/#getStarted
7、验证rustc --version # 应显示 Rust 编译器版本
cargo --version # 应显示 Cargo 包管理器版本
rustup --version # 应显示 Rustup 版本
8、npm安装vite时遇到权限问题,nvm(Node Version Manager)可以避免权限问题,并支持多版本 Node.js 切换。安装nvm
9、nvm安装nodejs
10、npm install -g vite
11、安装cargo-make
12、cargo make run_normal