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.
tanghc
9830e3e17d
|
4 years ago | |
---|---|---|
.. | ||
build | 6 years ago | |
mock | 6 years ago | |
public | 6 years ago | |
src | 4 years ago | |
tests/unit | 6 years ago | |
.editorconfig | 6 years ago | |
.env.development | 6 years ago | |
.env.production | 6 years ago | |
.env.staging | 6 years ago | |
.eslintignore | 6 years ago | |
.eslintrc.js | 6 years ago | |
.gitignore | 6 years ago | |
.postcssrc.js | 6 years ago | |
.travis.yml | 6 years ago | |
LICENSE | 6 years ago | |
README.md | 5 years ago | |
babel.config.js | 6 years ago | |
build.sh | 4 years ago | |
jest.config.js | 6 years ago | |
package.json | 6 years ago | |
vue.config.js | 6 years ago |
README.md
SOP Admin 前端vue实现
前提:先安装好npm,npm安装教程
- 启动服务端程序,运行
SopAdminServerApplication.java
cd sop-admin-vue
- 执行
npm install --registry=https://registry.npm.taobao.org
- 执行
npm run dev
,访问http://localhost:9528/
,用户名密码:admin/123456
- 修改端口号:打开
vue.config.js
,找到port
属性
打包放入到服务端步骤
如果想要把vue打包放到服务端,步骤如下:
- 执行
npm run build:prod
进行打包,结果在dest下 - 打包完成后,把dest中的所有文件,放到
sop-admin-server/src/main/resources/public
下