An open API service indexing awesome lists of open source software.

https://github.com/wangxiaoyugg/vue3-simple-shopcart

a simple shopcart by vue3
https://github.com/wangxiaoyugg/vue3-simple-shopcart

Last synced: 3 months ago
JSON representation

a simple shopcart by vue3

Awesome Lists containing this project

README

        

# Vue3 购物车
Vue3 + typescript + scss , 开发最简单的购物车

## 使用说明
1. 运行
```git
git clone
cd
npm install
```
2. 启动
```
npm run dev
```
2. 打包
```
npm run build
```

## 购物车已实现的功能
1. 商品数量增加
2. 商品数量减少
3. 商品移除
4. 显示总价
5. 显示总数量

## 待实现的功能
1. 实现useFetch自定义hook获取数据
2. 实现通用的loading组件
3. 处理无数据异常
4. 组件写单元测试
5. 使用vuex重构
7. 添加商品列表页面, 使用vue-router
8. 增加动画使数量增加和减少,移除操作更自然