xielq 9c8408d625 从商场同步最新账户中心代码 3 gadi atpakaļ
..
config 9c8408d625 从商场同步最新账户中心代码 3 gadi atpakaļ
src 9c8408d625 从商场同步最新账户中心代码 3 gadi atpakaļ
static 9c8408d625 从商场同步最新账户中心代码 3 gadi atpakaļ
test 9c8408d625 从商场同步最新账户中心代码 3 gadi atpakaļ
webpack 9c8408d625 从商场同步最新账户中心代码 3 gadi atpakaļ
.babelrc 9c8408d625 从商场同步最新账户中心代码 3 gadi atpakaļ
.editorconfig 9c8408d625 从商场同步最新账户中心代码 3 gadi atpakaļ
.eslintignore 9c8408d625 从商场同步最新账户中心代码 3 gadi atpakaļ
.eslintrc.js 9c8408d625 从商场同步最新账户中心代码 3 gadi atpakaļ
.gitignore 9c8408d625 从商场同步最新账户中心代码 3 gadi atpakaļ
.postcssrc.js 9c8408d625 从商场同步最新账户中心代码 3 gadi atpakaļ
README.md 9c8408d625 从商场同步最新账户中心代码 3 gadi atpakaļ
build.gradle 9c8408d625 从商场同步最新账户中心代码 3 gadi atpakaļ
index.html 9c8408d625 从商场同步最新账户中心代码 3 gadi atpakaļ
package.json 9c8408d625 从商场同步最新账户中心代码 3 gadi atpakaļ
yarn.lock 9c8408d625 从商场同步最新账户中心代码 3 gadi atpakaļ

README.md

sso-manage-console-web

A Vue.js project

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

If npm run dev failed, please downgrade webpack-dev-server:

# Remove webpack-dev-server, webpack-dev-server@2.9.10 is issue.
yarn remove webpack-dev-server

# Add webpack-dev-server@2.9.1
yarn add webpack-dev-server@2.9.1 --dev

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

Bootstrap sample http server, after run yarn run build. Test whether building success.

# build project
yarn run build

# using python3 for testing
python -m http.server

Deploy

Build vue project, and copy outputs to Java Backend

gradle :sso-manage-console-web:npmRunBuild

# Package spring boot application
gradle build

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