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.
 
 
 
 
 
 
SOP/sop-admin/sop-admin-vue
tanghc b21a02c4a5 自定义路由 6 years ago
..
build 1.7.2 6 years ago
mock 1.7.2 6 years ago
public 1.7.2 6 years ago
src 自定义路由 6 years ago
tests/unit 1.7.2 6 years ago
.editorconfig 1.7.2 6 years ago
.env.development 1.7.2 6 years ago
.env.production 1.7.2 6 years ago
.env.staging 1.7.2 6 years ago
.eslintignore 1.7.2 6 years ago
.eslintrc.js 1.7.2 6 years ago
.gitignore 1.7.2 6 years ago
.postcssrc.js 1.7.2 6 years ago
.travis.yml 1.7.2 6 years ago
LICENSE 1.7.2 6 years ago
README.md 1.7.2 6 years ago
babel.config.js 1.7.2 6 years ago
jest.config.js 1.7.2 6 years ago
package.json 日志表格默认展开,elementui升级到2.9.1 6 years ago
vue.config.js 1.7.2 6 years ago

README.md

SOP Admin 前端vue实现

前提:先安装好npm,npm安装教程

  1. 启动服务端程序,运行SopAdminServerApplication.java
  2. cd sop-admin-vue
  3. 执行npm install --registry=https://registry.npm.taobao.org
  4. 执行npm run dev,访问http://localhost:9528/,用户名密码:admin/123456
# 建议不要用cnpm  安装有各种诡异的bug 可以通过如下操作解决npm速度慢的问题
npm install --registry=https://registry.npm.taobao.org

# 开发调试 localhost:9528
npm run dev

# 打包发布
npm run build:prod

# Build for production and view the bundle analyzer report
npm run build:prod --report
  • 修改端口号:打开vue.config.js,找到port属性

打包放入到服务端步骤

如果想要把vue打包放到服务端,步骤如下:

  • 执行npm run build:prod进行打包,结果在dest下
  • 打包完成后,把dest中的所有文件,放到sop-admin-server/src/main/resources/public