build: 增加vue打包配置

This commit is contained in:
CaptainB 2022-10-13 11:16:11 +08:00 committed by 刘瑞斌
parent 804a9c9037
commit 7b34dc53b5
7 changed files with 7 additions and 0 deletions

View File

@ -12,6 +12,7 @@ module.exports = {
client: { client: {
webSocketTransport: 'sockjs', webSocketTransport: 'sockjs',
}, },
disableHostCheck: true,
webSocketServer: 'sockjs', webSocketServer: 'sockjs',
proxy: { proxy: {
['^((?!/login)(?!/document))']: { ['^((?!/login)(?!/document))']: {

View File

@ -13,6 +13,7 @@ module.exports = {
webSocketTransport: 'sockjs', webSocketTransport: 'sockjs',
}, },
webSocketServer: 'sockjs', webSocketServer: 'sockjs',
disableHostCheck: true,
proxy: { proxy: {
['^((?!/login)(?!/document))']: { ['^((?!/login)(?!/document))']: {
target: 'http://localhost:8000', target: 'http://localhost:8000',

View File

@ -12,6 +12,7 @@ module.exports = {
client: { client: {
webSocketTransport: 'sockjs', webSocketTransport: 'sockjs',
}, },
disableHostCheck: true,
webSocketServer: 'sockjs', webSocketServer: 'sockjs',
proxy: { proxy: {
['^((?!/login)(?!/document))']: { ['^((?!/login)(?!/document))']: {

View File

@ -12,6 +12,7 @@ module.exports = {
client: { client: {
webSocketTransport: 'sockjs', webSocketTransport: 'sockjs',
}, },
disableHostCheck: true,
webSocketServer: 'sockjs', webSocketServer: 'sockjs',
proxy: { proxy: {
['^((?!/login)(?!/document))']: { ['^((?!/login)(?!/document))']: {

View File

@ -12,6 +12,7 @@ module.exports = {
client: { client: {
webSocketTransport: 'sockjs', webSocketTransport: 'sockjs',
}, },
disableHostCheck: true,
webSocketServer: 'sockjs', webSocketServer: 'sockjs',
proxy: { proxy: {
['^((?!/login)(?!/document))']: { ['^((?!/login)(?!/document))']: {

View File

@ -12,6 +12,7 @@ module.exports = {
client: { client: {
webSocketTransport: 'sockjs', webSocketTransport: 'sockjs',
}, },
disableHostCheck: true,
webSocketServer: 'sockjs', webSocketServer: 'sockjs',
proxy: { proxy: {
['^((?!/login)(?!/document))']: { ['^((?!/login)(?!/document))']: {

View File

@ -15,6 +15,7 @@ module.exports = {
client: { client: {
webSocketTransport: 'sockjs', webSocketTransport: 'sockjs',
}, },
disableHostCheck: true,
webSocketServer: 'sockjs', webSocketServer: 'sockjs',
proxy: { proxy: {
['^((?!/login)(?!/document))']: { ['^((?!/login)(?!/document))']: {