大数据展示系统-前端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.5 KiB

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
  1. 智慧书架
  2. ```bash
  3. # install dependency
  4. npm install
  5. # develop
  6. npm run serve
  7. # 构建生产环境
  8. npm run build
  9. ```
  10. ```bash
  11. ## 项目结构
  12. ├── src # 源代码
  13. │ ├── api # 所有请求
  14. │ ├── assets # 主题 字体等静态资源
  15. │ ├── router # 路由
  16. │ ├── views # views 所有页面
  17. │ │ ├── module
  18. │ │ │ ├── bookDetails.vue # 书籍详情
  19. │ │ │ ├── bookList.vue # 书籍list
  20. │ │ │ ├── homeListItem.vue # 首页-书籍list
  21. │ │ ├── authorRecommend.vue # 作者推荐
  22. │ │ ├── bookRackList.vue # 本架书架
  23. │ │ ├── digitalResource.vue # 数字资源
  24. │ │ ├── hotBook.vue # 热门图书
  25. │ │ ├── index.vue # 首页
  26. │ │ ├── newBook.vue # 新书推荐
  27. │ ├── App.vue # 入口页面
  28. │ ├── main.js # 入口文件 加载组件 初始化等 注意:Vue.prototype.libcode使用
  29. ├── .env.xxx # 环境变量配置
  30. ├── .eslintrc.js # eslint 配置项
  31. ├── .babelrc # babel-loader 配置
  32. ├── .travis.yml # 自动化CI配置
  33. ├── vue.config.js # vue-cli 配置
  34. ├── postcss.config.js # postcss 配置
  35. └── package.json # package.json
  36. ```