Vue | vue 환경설정 위치 정보
페이지 정보
작성자 전소현 작성일20-06-29 16:47 조회463회 댓글0건관련링크
본문
프로젝트 > config > config.js
'use strict'
const path = require('path');
module.exports = {
dev: {
assertsSubDirectory: 'static',
assetsPublicPath: '/',
proxyTable: {
'/api/**': {
target: 'http://192.168.0.8:9797',
changeOrigin: true,
pathRewrite: {
'^/api/**': ''
}
}
},
port: 8787
},
build: {
index: path.resolve(__dirname, '../dist/index.html'),
assetsRoot: path.resolve(__dirname, '../dist'),
assetsSubDirectory: 'static',
assetsPublicPath: '/',
productionSourceMap: true,
port: 9797
}
}
'use strict'
const path = require('path');
module.exports = {
dev: {
assertsSubDirectory: 'static',
assetsPublicPath: '/',
proxyTable: {
'/api/**': {
target: 'http://192.168.0.8:9797',
changeOrigin: true,
pathRewrite: {
'^/api/**': ''
}
}
},
port: 8787
},
build: {
index: path.resolve(__dirname, '../dist/index.html'),
assetsRoot: path.resolve(__dirname, '../dist'),
assetsSubDirectory: 'static',
assetsPublicPath: '/',
productionSourceMap: true,
port: 9797
}
}
[주소복사] https://www.goodsweb.kr/?u=D418VFN6
SNS 알리기
핀터레스트
텔레그램로
블로그로
페이스북
트위터
카카오스토리
카톡 공유
관련 블로그
로딩중