# WH2309 **Repository Path**: Me_epo/wh2309 ## Basic Information - **Project Name**: WH2309 - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-01-29 - **Last Updated**: 2024-04-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 反向安装 npm i 1:第一步需要安装node.js (版本不要太低高于16) http://nodejs.cn/download/ 打开(win+r) 输入 cmd 确定 在输入 node -v 2:配置淘宝镜像https://npmmirror.com/ npm config set registry https://registry.npmmirror.com 3:安装数据模拟插件(json-server mockjs) npm i json-server@0.9 -g 启动 json-server --host 0.0.0.0 --port 端口 --watch 文件名.json 创建vue2项目 vue create 项目名 sass安装 npm i sass sass-loader -D vant2安装 npm i vant@latest-v2 -S axios安装 npm install axios -S 创建vue3项目 npm create vite@latest 项目名 -- --template vue-ts vant3安装 npm i vant -S 路由安装 npm i vue-router -S pinia安装 npm i pinia -S pinia持久化 npm i pinia-persistedstate-plugin -S 创建react项目 npm init vite@latest 项目名 移动端页面适配插件 安装 npm i amfe-flexible 继续安装px的转化插件 npm i postcss postcss-pxtorem@5.1.1 -D 查看远程仓库是否连接 git remote -v git pull 拉取代码 git提交三步 git add . git commit -m "注释" git push (origin master)