Recordof VUE-CLI 말초 봄 부팅 프로세스 항목 패키지 생성 항아리 패키지, 패키지 소프트웨어 설치를 생성
1, VUE 포장 구성 전에
다음과 같이 프로젝트 빌드 구성의 config 디렉토리하는 index.js 파일 :
build: {
// Template for index.html
index: path.resolve(__dirname, '../../static/public/index.html'),
// Paths
assetsRoot: path.resolve(__dirname, '../../static/public'),
assetsSubDirectory: 'static',
assetsPublicPath: '/css-code-building-api/public/',
/**
* Source Maps
*/
productionSourceMap: false,
// https://webpack.js.org/configuration/devtool/#production
devtool: 'source-map',
// Gzip off by default as many popular static hosts such as
// Surge or Netlify already gzip all static assets for you.
// Before setting to `true`, make sure to:
// npm install --save-dev compression-webpack-plugin
productionGzip: false,
productionGzipExtensions: ['js', 'css'],
// Run the build command with an extra argument to
// View the bundle analyzer report after build finishes:
// `npm run build --report`
// Set to `true` or `false` to always turn it on or off
bundleAnalyzerReport: process.env.npm_config_report || false
}
그런 다음 정적 폴더의 동일한 수준의 프로젝트 루트 디렉토리의 결과로, NPM 실행 빌드 또는 cnpm 실행 빌드를 수행합니다. 나는 아래 그림 :
(2), 전방 및 후방 단부는 병합
아래의 압축 스프링 부팅에 뷰 :
3, 발생 병 패키지
프로젝트으로 실행을 마우스 오른쪽 버튼으로 클릭 -> 메이븐 깨끗하고, 다음 마우스 오른쪽 버튼으로 실행은 -> Maven은 설치합니다.
4, exe4j는 EXE 파일을 생성
아래와 같이 내 파일 :
5, 개방 exe4j
(1) exe4j 등록 코드 : 그들은이 실행 파일의 exe4j의 평가 버전 문제를 생성 할 때 L-g782dn2d-1f1yqxx1rv1sqd, .exe 파일을 팝업을 열 때마다를 해결할 수 있습니다.
(2) 발생 EXE 문서를 다음
다음 EXE 파일 생성 :
이노 설치 컴파일러 생성 된 설치 패키지를 사용하여 5,
이 모든 과정이 끝났습니다.
6 exe4j 및 다운로드 설치 패키지 이노 설정 컴파일러
(. 1) exe4j 다운로드와
(2) 설치 컴파일러를 다운로드 INNO
도 7을 참조
(1) https://blog.csdn.net/bananachong/article/details/82253866