Skip to content
This repository has been archived by the owner on Mar 11, 2019. It is now read-only.

HarborZeng/nwugrade

Repository files navigation

Note that, this project is decrepitated and no longer maintained if you wanna make a change please fork this repo and make it your own.

grade.tellyouwhat.cn

西北大学第三方成绩查询系统前端

查看在线版本grades.tellyouwhat.cn 预览图

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

For a detailed explanation on how things work, check out the guide and docs for vue-loader.

这个项目使用到了vue系列脚手架工具,包括vue-cli, vue-router, vuex, bootstrap-vue等,实现一个成绩查询的客户端。更多说明详见代码注释。 "axios": "^0.18.0", "vue": "^2.5.2", "vue-full-loading": "^1.2.1", "vue-router": "^3.0.1", "vuex": "^3.0.1" "vue-loader": "^13.3.0", "webpack": "^3.6.0", "bootstrap-vue": "^2.0.0-rc.11",

源码阅读说明

  • 外层大多数文件都是vue-cli自动生成的

sss

  • 我们需要关注的是src、static目录,index.html和package.json

    src/App.vuesrc/main.js是看源码的入口,请看他俩的注释