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.
 
 
 
 
 
bemege 5f22b5bd21 首页适配移动端 4 years ago
public 首页适配移动端 4 years ago
src 首页适配移动端 4 years ago
.editorconfig fix 4 years ago
.env.development fix 4 years ago
.env.production fix 4 years ago
.eslintignore fix 4 years ago
.eslintrc.js 重构部分样式 4 years ago
.gitignore 初始化提交 5 years ago
LICENSE update LICENSE GPL 4 years ago
README.md npm 设置常用库的中国镜像 4 years ago
babel.config.js fix 4 years ago
package.json 首页适配移动端 4 years ago
vue.config.js fix 4 years ago

README.md

Tduck-WEB

s8sdOO.png TDuck 前端源码

项目源码

后端源码 前端源码
https://gitee.com/TDuckApp/tduck-platform https://gitee.com/TDuckApp/tduck-front

Build Setup

# 配置镜像加速
https://www.ydyno.com/archives/1219.html
或者镜像全家桶(常用的全部加速了)
npm i -g mirror-config-china --registry=https://registry.npm.taobao.org

# 安装依赖
npm install

# 启动服务 localhost:8013
npm run serve

# 构建生产环境
npm run build

常见问题

1、linux 系统在安装依赖的时候会出现 node-sass 无法安装的问题

解决方案:

1. 单独安装:npm install --unsafe-perm node-sass 
2. 直接使用:npm install --unsafe-perm

2、加速node-sass安装

https://www.ydyno.com/archives/1219.html

目录简介

  • api axios 封装
  • assets 静态资源
  • components 公共组件
  • router 路由
  • store vuex
  • theme elementui主题
  • util 工具类
  • views 页面

特别鸣谢