This is the frontend repository of capstone project CS14.
Make sure you install NodeJS first!
https://nodejs.org/zh-cn/download/
-
Follow the official guide:
-
Or use the command below in your terminal.
npm install -g @vue/cli
In your project directory
npm install
npm run serve
The frontend will run on port 8080
.
{
"columns": ["column1", "column2"], // Field name
"rows": [ // Data rows
{
"column1": 1001,
"column2": 2001,
"column3": "text"
},
{
"column1": 1001,
"column2": 2001,
"column3": "text"
}
]
}
- Vue.js: https://cn.vuejs.org/index.html
- Vue-router: https://router.vuejs.org/zh/
- Element UI: https://element.eleme.io/#/zh-CN/component/layout
- Axios: https://github.com/axios/axios
- V-Charts: https://v-charts.js.org/#/
- ECharts https://echarts.apache.org/zh/option.html