newbee-mall-vue3-app
🔥 🎉Vue3 全家桶 + Vant 搭建大型单页面商城项目,新蜂商城 Vue3.2 版本,技术栈为 Vue3.2 + Vue-Router4.x + Pinia + Vant4.x。
Top Related Projects
又一个小商城。litemall = Spring Boot后端 + Vue管理员前端 + 微信小程序用户前端 + Vue用户移动端
🔥 🎉newbee-mall是一套电商系统,包括基础版本(Spring Boot+Thymeleaf)、前后端分离版本(Spring Boot+Vue 3+Element-Plus+Vue-Router 4+Pinia+Vant 4) 、秒杀版本、Go语言版本、微服务版本(Spring Cloud Alibaba+Nacos+Sentinel+Seata+Spring Cloud Gateway+OpenFeign+ELK)。 前台商城系统包含首页门户、商品分类、新品上线、首页轮播、商品推荐、商品搜索、商品展示、购物车、订单结算、订单流程、个人订单管理、会员中心、帮助中心等模块。 后台管理系统包含数据面板、轮播图管理、商品管理、订单管理、会员管理、分类管理、设置等模块。
基于Spring+SpringMVC+Mybatis分布式敏捷开发系统架构,提供整套公共微服务服务模块:集中权限管理(单点登录)、内容管理、支付中心、用户管理(支持第三方登录)、微信平台、存储系统、配置中心、日志分析、任务和通知等,支持服务治理、监控和追踪,努力为中小型企业打造全方位J2EE企业级开发解决方案。
mall-admin-web是一个电商后台管理系统的前端项目,基于Vue+Element实现。 主要包括商品管理、订单管理、会员管理、促销管理、运营管理、内容管理、统计报表、财务管理、权限管理、设置等功能。
基于SOA架构的分布式电商购物商城 前后端分离 前台商城:Vue全家桶 后台管理系统:Dubbo/SSM/Elasticsearch/Redis/MySQL/ActiveMQ/Shiro/Zookeeper等
Quick Overview
NewBee Mall Vue3 App is a modern e-commerce mobile application built using Vue 3 and Vant UI components. It serves as the front-end for the NewBee Mall project, providing a responsive and user-friendly interface for online shopping experiences.
Pros
- Built with Vue 3, leveraging the latest features and performance improvements
- Utilizes Vant UI components for a consistent and mobile-friendly design
- Implements Vue Router for efficient navigation and state management
- Includes comprehensive e-commerce features such as product browsing, cart management, and order processing
Cons
- Limited documentation, which may make it challenging for new developers to understand and contribute to the project
- Dependency on specific backend APIs, potentially limiting flexibility for integration with other systems
- Lack of internationalization support, restricting its use to primarily Chinese-speaking markets
- Some components and pages could benefit from additional optimization for performance
Code Examples
- Using Vant components for product display:
<template>
<div class="product-card">
<van-card
:price="product.price"
:title="product.name"
:thumb="product.image"
>
<template #footer>
<van-button size="mini" @click="addToCart">Add to Cart</van-button>
</template>
</van-card>
</div>
</template>
- Implementing Vue Router navigation:
import { createRouter, createWebHistory } from 'vue-router'
const router = createRouter({
history: createWebHistory(),
routes: [
{ path: '/', component: Home },
{ path: '/product/:id', component: ProductDetail },
{ path: '/cart', component: Cart }
]
})
- Making API calls using Axios:
import axios from 'axios'
export const getProducts = async () => {
try {
const response = await axios.get('/api/products')
return response.data
} catch (error) {
console.error('Error fetching products:', error)
return []
}
}
Getting Started
To set up and run the NewBee Mall Vue3 App:
-
Clone the repository:
git clone https://github.com/newbee-ltd/newbee-mall-vue3-app.git
-
Install dependencies:
cd newbee-mall-vue3-app npm install
-
Start the development server:
npm run serve
-
Open your browser and navigate to
http://localhost:8080
to view the application.
Competitor Comparisons
又一个小商城。litemall = Spring Boot后端 + Vue管理员前端 + 微信小程序用户前端 + Vue用户移动端
Pros of litemall
- More comprehensive e-commerce solution with both frontend and backend components
- Supports multiple platforms including Vue, React Native, and WeChat Mini Program
- Includes advanced features like data statistics and automated testing
Cons of litemall
- Less focused on modern Vue 3 development compared to newbee-mall-vue3-app
- May have a steeper learning curve due to its broader scope and multiple technologies
Code Comparison
litemall (Java backend):
@RestController
@RequestMapping("/wx/goods")
public class WxGoodsController {
@GetMapping("/list")
public Object list(@RequestParam(defaultValue = "1") Integer page,
@RequestParam(defaultValue = "10") Integer limit) {
// ... implementation
}
}
newbee-mall-vue3-app (Vue 3 frontend):
<script setup>
import { ref, onMounted } from 'vue'
import { getGoodsList } from '@/api/goods'
const goodsList = ref([])
onMounted(async () => {
goodsList.value = await getGoodsList()
})
</script>
The code snippets highlight the different focus areas of the two projects. litemall showcases a Java backend controller for handling goods listing, while newbee-mall-vue3-app demonstrates a Vue 3 composition API approach for fetching and displaying goods on the frontend.
🔥 🎉newbee-mall是一套电商系统,包括基础版本(Spring Boot+Thymeleaf)、前后端分离版本(Spring Boot+Vue 3+Element-Plus+Vue-Router 4+Pinia+Vant 4) 、秒杀版本、Go语言版本、微服务版本(Spring Cloud Alibaba+Nacos+Sentinel+Seata+Spring Cloud Gateway+OpenFeign+ELK)。 前台商城系统包含首页门户、商品分类、新品上线、首页轮播、商品推荐、商品搜索、商品展示、购物车、订单结算、订单流程、个人订单管理、会员中心、帮助中心等模块。 后台管理系统包含数据面板、轮播图管理、商品管理、订单管理、会员管理、分类管理、设置等模块。
Pros of newbee-mall
- More comprehensive backend implementation with Java Spring Boot
- Larger community and more stars on GitHub
- Includes both admin and user interfaces
Cons of newbee-mall
- Older technology stack, potentially less modern development experience
- More complex setup due to separate frontend and backend components
- Steeper learning curve for developers new to Java ecosystem
Code Comparison
newbee-mall (Java):
@RestController
@Api(value = "v1", tags = "后台管理系统商品分类模块接口")
@RequestMapping("/manage-api/v1")
public class NewBeeMallGoodsCategoryController {
@Resource
private NewBeeMallCategoryService newBeeMallCategoryService;
// ...
}
newbee-mall-vue3-app (Vue 3):
<script setup>
import { ref, onMounted } from 'vue'
import { getHome } from '@/service/home'
import { showLoadingToast, showToast } from 'vant'
import 'vant/es/toast/style'
const carouselList = ref([])
const newGoodses = ref([])
// ...
</script>
The newbee-mall repository uses Java Spring Boot for the backend, providing a robust and scalable solution. In contrast, newbee-mall-vue3-app focuses on the frontend using Vue 3, offering a more modern and reactive user interface. The Vue 3 version likely provides a smoother development experience for frontend developers, while the Java version offers more comprehensive backend functionality.
基于Spring+SpringMVC+Mybatis分布式敏捷开发系统架构,提供整套公共微服务服务模块:集中权限管理(单点登录)、内容管理、支付 中心、用户管理(支持第三方登录)、微信平台、存储系统、配置中心、日志分析、任务和通知等,支持服务治理、监控和追踪,努力为中小型企业打造全方位J2EE企业级开发解决方案。
Pros of zheng
- More comprehensive and feature-rich, offering a complete enterprise development platform
- Supports microservices architecture, enhancing scalability and modularity
- Includes a wider range of technologies and frameworks, providing more flexibility
Cons of zheng
- Higher complexity and steeper learning curve due to its extensive feature set
- Less focused on a specific application type, potentially requiring more customization
- May be overkill for smaller projects or specific e-commerce applications
Code Comparison
zheng (Java):
@Service
@Transactional
public class UserServiceImpl implements UserService {
@Autowired
private UserMapper userMapper;
@Override
public UserDto getUserById(Long id) {
return userMapper.selectByPrimaryKey(id);
}
}
newbee-mall-vue3-app (Vue 3):
<script setup>
import { ref, onMounted } from 'vue'
import { getDetail } from '@/service/good'
const goodsId = ref(0)
const detail = ref({})
onMounted(() => {
getDetail(goodsId.value).then(res => {
detail.value = res
})
})
</script>
The code snippets highlight the different focus areas of the two projects. zheng demonstrates a backend service implementation, while newbee-mall-vue3-app showcases a frontend component for fetching and displaying product details.
mall-admin-web是一个电商后台管理系统的前端项目,基于Vue+Element实现。 主要包括商品管理、订单管理、会员管理、促销管理、运营管理、内容管理、统计报表、财务管理、权限管理、设置等功能。
Pros of mall-admin-web
- More comprehensive e-commerce management features, including order management, product management, and marketing tools
- Extensive documentation and detailed setup instructions
- Larger community with more stars and forks, potentially indicating better support and maintenance
Cons of mall-admin-web
- Uses older Vue 2 framework, while newbee-mall-vue3-app utilizes the more modern Vue 3
- More complex setup process due to its comprehensive nature
- Steeper learning curve for beginners due to its extensive feature set
Code Comparison
mall-admin-web (Vue 2):
import Vue from 'vue'
import Router from 'vue-router'
import Login from '@/views/login/index'
Vue.use(Router)
export const constantRouterMap = [
{path: '/login', component: Login, hidden: true}
]
newbee-mall-vue3-app (Vue 3):
import { createRouter, createWebHashHistory } from 'vue-router'
import Home from '@/views/Home.vue'
const router = createRouter({
history: createWebHashHistory(),
routes: [
{ path: '/', name: 'home', component: Home },
]
})
The code comparison highlights the difference in routing setup between Vue 2 and Vue 3, with mall-admin-web using the older Vue Router syntax and newbee-mall-vue3-app utilizing the newer composition API style routing.
基于SOA架构的分布式电商购物商城 前后端分离 前台商城:Vue全家桶 后台管理系统:Dubbo/SSM/Elasticsearch/Redis/MySQL/ActiveMQ/Shiro/Zookeeper等
Pros of xmall
- More comprehensive e-commerce solution with both front-end and back-end components
- Larger community with more stars and forks on GitHub
- Includes additional features like a content management system (CMS)
Cons of xmall
- Older technology stack (Vue 2) compared to newbee-mall-vue3-app's Vue 3
- Less frequent updates and potentially outdated dependencies
- More complex setup due to its full-stack nature
Code Comparison
xmall (Vue 2 component):
<template>
<div class="product-item">
<img :src="product.image" :alt="product.name">
<h3>{{ product.name }}</h3>
<p>{{ product.price }}</p>
</div>
</template>
newbee-mall-vue3-app (Vue 3 component):
<template>
<div class="product-card">
<img :src="product.coverImg" :alt="product.name">
<h4>{{ product.name }}</h4>
<p>{{ product.sellingPrice }}</p>
</div>
</template>
The code comparison shows similar structure but different naming conventions and Vue versions. newbee-mall-vue3-app uses more modern Vue 3 syntax and potentially better performance optimizations.
Overall, xmall offers a more complete e-commerce solution but with an older tech stack, while newbee-mall-vue3-app focuses on a modern, Vue 3-based front-end implementation. The choice between them depends on specific project requirements and preferences for technology stack.
Convert
designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual CopilotREADME
newbee-mall é¡¹ç®æ¯ä¸å¥çµåç³»ç»ï¼å æ¬ newbee-mall ååç³»ç»å newbee-mall-admin åååå°ç®¡çç³»ç»ï¼åºäº Spring Boot å Vue 以åç¸å ³ææ¯æ å¼åã åå°ååç³»ç»å å«é¦é¡µé¨æ·ãåååç±»ãæ°åä¸çº¿ãé¦é¡µè½®æãå忍èãååæç´¢ãååå±ç¤ºãè´ç©è½¦ã订åç»ç®ãè®¢åæµç¨ã个人订å管çãä¼åä¸å¿ã帮å©ä¸å¿ç模åã åå°ç®¡çç³»ç»å 嫿°æ®é¢æ¿ãè½®æå¾ç®¡çãåå管çã订å管çãä¼å管çãå类管çãè®¾ç½®çæ¨¡åã
æ¬ä»åºä¸çæºç 为æ°èåååå端åç¦»çæ¬ç Vue 项ç®ï¼Vue çæ¬ä¸º 3.xï¼ï¼ä¸»è¦é¢åå端å¼å人åï¼å端 API æºç å¨å¦å¤ä¸ä¸ªä»åº newbee-mall-apiã
æ°èåå Vue3 çæ¬çº¿ä¸é¢è§å°åï¼http://vue3-app.newbee.ltdï¼è´¦å·å¯èªè¡æ³¨åï¼å»ºè®®ä½¿ç¨ææºæ¨¡å¼æå¼ã
newbee-mall ï¼æ°èååï¼ç³»åé¡¹ç®æ¦è§
项ç®åç§° | ä»åºå°å | 夿³¨ |
---|---|---|
newbee-mall | newbee-mall in GitHub newbee-mall in Gitee | åå§çæ¬ãSpring BootãThymeleafãMyBatisãMySQL |
newbee-mall-plus | newbee-mall-plus in GitHub newbee-mall-plus in Gitee | åçº§çæ¬ã伿 å¸ãç§æãæ¯ä»ãSpring BootãThymeleafãMyBatisãMySQLãRedis |
newbee-mall-cloud | newbee-mall-cloud in GitHub newbee-mall-cloud in Gitee | å¾®æå¡çæ¬ãåå¸å¼äºå¡ãSpring Cloud AlibabaãNacosãSentinelãOpenFeignãSeata |
newbee-mall-api | newbee-mall-api in GitHub newbee-mall-api in Gitee | åå端å离ãSpring BootãMyBatisãSwaggerãMySQL |
newbee-mall-api-go | newbee-mall-api-go in GitHub newbee-mall-api-go in Gitee | åå端å离ãGoãGinãMySQL |
newbee-mall-vue-app | newbee-mall-vue-app in GitHub newbee-mall-vue-app in Gitee | åå端å离ãVue2ãVant |
newbee-mall-vue3-app | newbee-mall-vue3-app in GitHub newbee-mall-vue3-app in Gitee | åå端å离ãVue3ãVue-Router4ãPiniaãVant4 |
vue3-admin | vue3-admin in GitHub vue3-admin in Gitee | åå端å离ãVue3ãElement-PlusãVue-Router4ãVite |
åæä¸æï¼å¦æè§å¾é¡¹ç®è¿ä¸éçè¯å¯ä»¥ç»é¡¹ç®ä¸ä¸ª Star å§ï¼ä¹æ¯å¯¹æä¸ç´æ´æ°ä»£ç çä¸ç§é¼å±å¦ï¼è°¢è°¢åä½çæ¯æã
å¼ååé¨ç½²ææ¡£
- å¼ç¯è¯ï¼æææå¸¦ä½ æå»ºVue3+Spring Boot大ååå端å离项ç®
- 项ç®é¡»ç¥å课ç¨çº¦å®
- 2023å¹´2æå°åå ¨æ°ä¼åå级
- å ¨æ å¼åï¼ä½ å¿ é¡»è¦ç¥éçâåå端å离â
- å端模ååçåå±åå²
- ä¼ ç»é¡µé¢åå页é¢çæè¡¡ä¸ææ©
- åå¤å·¥ä½ååºç¡ç¯å¢æå»ºï¼å端ï¼
- Spring Boot 项ç®åä½éª--é¡¹ç®æå»ºåå¯å¨
- 项ç®ç¼ç ç®åå©å¨ï¼Spring Boot æ´å Lombok
- Lombok æä»¶é®é¢å¤ç
- ååå端项ç®å¯å¨åè¿è¡æ³¨æäºé¡¹
- VSCode çç¸å ³é ç½®åæä»¶ä»ç»
- åºç¡ç¯ï¼Vue æä»¤
- Vue3 æ°ç¹æ§ä»ç»
- åºç¡ç¯: CSS é¢å¤çå·¥å ·Lessçä»ç»å使ç¨
- èææ¶å·¥å · Vite
- Vue-Router æµ æåçå使ç¨
- å ¨å±ç¶æç®¡çæä»¶ Pinia ç®ä»å使ç¨
- ååå端 H5 å¼åç¯å¢æå»ºå项ç®å¯å¨
- ååç«¯äº¤äºææ¡£å©å¨ï¼Spring Boot æ´å Swagger
- æ¥å£åæ°å¤çåç»ä¸ååºç»æ
- å£è®¾è®¡è§è忥å£è°ç¨å®è·µ
- ååå¼å宿-ç¨æ·ç»å½æ¥å£å¼å
- ååå¼å宿-ç¨æ·èº«ä»½è®¤è¯è¯¦è§£
- ååå¼å宿-é¦é¡µæ¨¡åæ¥å£å¼å
- ååå¼å宿-åç±»æ¨¡åæ¥å£å¼å
- ååå¼å宿-ååæç´¢æ¨¡åæ¥å£å¼å
- ååå¼å宿-è´ç©è½¦æ¨¡åæ¥å£å¼å
- ååå¼å宿-个人信æ¯åæ¶è´§å°åæ¥å£å¼å
- ååå¼å宿-ä¸åæµç¨æ¥å£å¼å
- ååå¼å宿-订åå¤çæµç¨è¯¦è§£
- ååç§»å¨ç«¯å¼å宿-æ°èåååºé¨å¯¼èª(æ½ç¦»å ¬å ±ç»ä»¶)
- ååç§»å¨ç«¯å¼å宿-æ°èååç»å½æ³¨å页(åç«¯é´æ)
- ååç§»å¨ç«¯å¼å宿-ååé¦é¡µå¶ä½(è½®æå¾ãé¦é¡µååå表)
- ååç§»å¨ç«¯å¼å宿-ååå类页é¢å¶ä½(better-scrolçä»ç»å使ç¨)
- ååç§»å¨ç«¯å¼å宿-ååå表页é¢å¶ä½(æ éæ»å¨å è½½)
- ååç§»å¨ç«¯å¼å宿-åå详æ 页é¢å¶ä½(Pinia è´ç©è½¦æ°éå ¨å±ç®¡ç)
- ååç§»å¨ç«¯å¼å宿-ååè´ç©è½¦é¡µé¢å¶ä½(è´ç©è½¦é¡µ)
- ååç§»å¨ç«¯å¼å宿-确认订å页é¢å¶ä½
- ååç§»å¨ç«¯å¼å宿-å°åæ 管ç页é¢å¶ä½
- ååç§»å¨ç«¯å¼å宿-æç订å页é¢å¶ä½
- 常è§é®é¢æ±æ»è®²è§£
èç³»ä½è
大家æä»»ä½é®é¢æè 建议é½å¯ä»¥å¨ issues ä¸åé¦ç»æï¼æä¼æ ¢æ ¢å®åè¿ä¸ªé¡¹ç®ã
- æçé®ç®±ï¼2449207463@qq.com
- QQææ¯äº¤æµç¾¤ï¼932227898 552142710
å ³æ³¨å ¬ä¼å·ï¼ç¨åºååä¸ï¼åå¤"徿"è¿ç¾¤äº¤æµã
软件è使
æ¬ç³»ç»å·²ç³è¯·è½¯ä»¶è使ï¼åå½å®¶çæå±ç¥è¯äº§æä»¥åå½å®¶è®¡ç®æºè½¯ä»¶èä½æä¿æ¤ï¼
页é¢å±ç¤º
以ä¸ä¸ºæ°èåå Vue3 çæ¬ç页é¢é¢è§ï¼
- ç»å½é¡µ
- é¦é¡µ
- ååæç´¢
- åå详æ 页
- è´ç©è½¦
- çæè®¢å
- å°å管ç
- 订åå表
- 订å详æ
æè°¢
Top Related Projects
又一个小商城。litemall = Spring Boot后端 + Vue管理员前端 + 微信小程序用户前端 + Vue用户移动端
🔥 🎉newbee-mall是一套电商系统,包括基础版本(Spring Boot+Thymeleaf)、前后端分离版本(Spring Boot+Vue 3+Element-Plus+Vue-Router 4+Pinia+Vant 4) 、秒杀版本、Go语言版本、微服务版本(Spring Cloud Alibaba+Nacos+Sentinel+Seata+Spring Cloud Gateway+OpenFeign+ELK)。 前台商城系统包含首页门户、商品分类、新品上线、首页轮播、商品推荐、商品搜索、商品展示、购物车、订单结算、订单流程、个人订单管理、会员中心、帮助中心等模块。 后台管理系统包含数据面板、轮播图管理、商品管理、订单管理、会员管理、分类管理、设置等模块。
基于Spring+SpringMVC+Mybatis分布式敏捷开发系统架构,提供整套公共微服务服务模块:集中权限管理(单点登录)、内容管理、支付中心、用户管理(支持第三方登录)、微信平台、存储系统、配置中心、日志分析、任务和通知等,支持服务治理、监控和追踪,努力为中小型企业打造全方位J2EE企业级开发解决方案。
mall-admin-web是一个电商后台管理系统的前端项目,基于Vue+Element实现。 主要包括商品管理、订单管理、会员管理、促销管理、运营管理、内容管理、统计报表、财务管理、权限管理、设置等功能。
基于SOA架构的分布式电商购物商城 前后端分离 前台商城:Vue全家桶 后台管理系统:Dubbo/SSM/Elasticsearch/Redis/MySQL/ActiveMQ/Shiro/Zookeeper等
Convert
designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual Copilot