1.vue安装 vue create 项目名 手动配置vuex, 第一个yes,第二个no npm i axios -S npm i element-ui -S 配置 import ElementUI from 'element-ui'; import 'element-ui/lib/theme-chalk/index.css'; Vue.config.productionTip = false Vue.use(ElementUI) axios.defaults.baseURL="http://127.0.0.1:5000" Vue.prototype.axios=axios 2.git上传 $ git init $ ls $ git add . $ git commit -m '创建项目' #新建 git remote add origin https://gitee.com/wang-senhui-1/heimi.git git push -u origin "master" #更新 git push origin master 3.vue前端 1.内容横排列 .bb{ display: flex; justify-content: center; flex-wrap: wrap; width:90px; } 2.框内提示内容 <el-input placeholder="长大后我就成为了你"></el-input> 3.简易头像 <el-avatar> wsh </el-avatar> 4.圆角按钮 <el-button style="background-color:blue;color:aliceblue;border-radius: 20px;width:100px">关注</el-button>