Skip to content

Commit 97e1639

Browse files
committed
完成所有任务
1 parent 05c1ea6 commit 97e1639

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+814
-10587
lines changed

README.md

+49-11
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,64 @@
1-
# vue-project
1+
# vue-project🐮🍺
22

3+
4+
> 概述:本仓库是本人在大三上册前端课程中的前端大作业🔥
5+
希望大家能加入然后提出改进的建议💖
6+
如果对大家有帮助的话,希望大家可以为这个项目点上一颗星星⭐
7+
8+
## 欢迎大家关注一下😊
9+
10+
11+
12+
## 技术借鉴和参考(善用Ctrl+F)🔍
13+
- [🙉 Vue](https://vuejs.org)
14+
- [🐮 JavaScript](https://www.javascript.com)
15+
- [🏷️ CSS](https://www.w3schools.com/Css)
16+
- [🎁 HTML](https://www.w3schools.com/html)
17+
- [🧱.bilibili](https://www.bilibili.com/video/BV1QU4y1E7qo/?spm_id_from=0.0.header_right.fav_list.click)
18+
- [🧮 element-ui](https://element.eleme.cn)
19+
- [🍇 Echarts](https://echarts.apache.org/zh/index.html)
20+
- [🍉 zhuyihe](https://github.com/zhuyihe/vue-admin-project)
21+
- [💡 xiaotian2017](https://github.com/xiaotian2017/vue-cli3-admin)
22+
- [💻 CSDN](https://www.csdn.ne)
23+
- [🛰️ Stack Overflow](https://stackoverflow.com/)
324
## Project setup
425
```
5-
yarn install
26+
cnpm install
627
```
728

8-
### Compiles and hot-reloads for development
29+
### 安装一下后台服务的包
30+
1. node.js服务
31+
2. express
32+
3. jwt(生成token)jsonwebtoken 解析token: 安装: jwt-decode
33+
4. mysql
34+
5. mockjs -- 模拟数据
35+
1. 安装: cnpm i mockjs -S
36+
2. 引入:
37+
node.js: const Mock = require('mockjs')
38+
前端js: import Mock from 'mockjs'
39+
40+
3. 语法:
41+
Mock.mock()
42+
6. swiper
43+
7. bootstrap
44+
8. element
45+
9. echarts
46+
### Run
947
```
10-
yarn serve
48+
cnpm run serve
1149
```
1250

13-
### Compiles and minifies for production
51+
### Node
1452
```
15-
yarn build
53+
1.cd Server
54+
2.nodemon
1655
```
1756

18-
### Customize configuration
19-
See [Configuration Reference](https://cli.vuejs.org/config/).
20-
21-
2257
### 启动问题
58+
遇到启动问题执行
59+
```
2360
set NODE_OPTIONS=--openssl-legacy-provider
24-
61+
```
2562
### 仓库管理的Git指令
2663
- git add .
2764
- git commit -m""
@@ -31,3 +68,4 @@ set NODE_OPTIONS=--openssl-legacy-provider
3168
npm config set legacy-peer-deps true
3269

3370
### 提供的帮助
71+
Vue + Vue-router + Vuex + Element-ui + Axios + Echarts + 其他三方库

server/router.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ router.get('/projectList', (req, res) => {
2323
res.send({
2424
status: 200,
2525
data: result,
26-
pageSize: 8,
26+
pageSize: 10,
2727
total: len
2828
})
2929
} else {

src/App.vue

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
11
<template>
22
<div id="app">
33
<router-view/>
4+
<Tail></Tail>
45
</div>
56
</template>
67

78
<script>
9+
import Tail from './components/tail'
10+
811
export default {
912
name: "app",
10-
components: {},
13+
components: {
14+
Tail
15+
},
1116
};
1217
</script>
1318

0 commit comments

Comments
 (0)