1.看看当前所在分支
git branch
2.新建分支
git checkout -b goods_cate
3.查看当前所在分支
git branch
4.把新建的goods_cate分支推送到云端
git push -u origin goods_cate
新建一个Vue组件:
<template>
<div>商品分类</div>
</template>
<script>
export default {
data() {
return {
}
},
created() {
},
methods: {
}
}
</script>
<style lang="less" scoped>
</style>
配置路由:
搭建Cate.vue页面基本框架:
<template>
<div>
<!-- 面包屑导航 -->
<el-breadcrumb separator-class="el-icon-arrow-right">
<el-breadcrumb-item :to="{ path: '/home' }">首页</el-breadcrumb-item>
<el-breadcrumb-item>商品管理<<