build: 增加vue打包配置
This commit is contained in:
parent
7b34dc53b5
commit
cedc873062
|
@ -12,7 +12,7 @@ module.exports = {
|
||||||
client: {
|
client: {
|
||||||
webSocketTransport: 'sockjs',
|
webSocketTransport: 'sockjs',
|
||||||
},
|
},
|
||||||
disableHostCheck: true,
|
allowedHosts: 'all',
|
||||||
webSocketServer: 'sockjs',
|
webSocketServer: 'sockjs',
|
||||||
proxy: {
|
proxy: {
|
||||||
['^((?!/login)(?!/document))']: {
|
['^((?!/login)(?!/document))']: {
|
||||||
|
|
|
@ -13,7 +13,7 @@ module.exports = {
|
||||||
webSocketTransport: 'sockjs',
|
webSocketTransport: 'sockjs',
|
||||||
},
|
},
|
||||||
webSocketServer: 'sockjs',
|
webSocketServer: 'sockjs',
|
||||||
disableHostCheck: true,
|
allowedHosts: 'all',
|
||||||
proxy: {
|
proxy: {
|
||||||
['^((?!/login)(?!/document))']: {
|
['^((?!/login)(?!/document))']: {
|
||||||
target: 'http://localhost:8000',
|
target: 'http://localhost:8000',
|
||||||
|
|
|
@ -12,7 +12,7 @@ module.exports = {
|
||||||
client: {
|
client: {
|
||||||
webSocketTransport: 'sockjs',
|
webSocketTransport: 'sockjs',
|
||||||
},
|
},
|
||||||
disableHostCheck: true,
|
allowedHosts: 'all',
|
||||||
webSocketServer: 'sockjs',
|
webSocketServer: 'sockjs',
|
||||||
proxy: {
|
proxy: {
|
||||||
['^((?!/login)(?!/document))']: {
|
['^((?!/login)(?!/document))']: {
|
||||||
|
|
|
@ -12,7 +12,7 @@ module.exports = {
|
||||||
client: {
|
client: {
|
||||||
webSocketTransport: 'sockjs',
|
webSocketTransport: 'sockjs',
|
||||||
},
|
},
|
||||||
disableHostCheck: true,
|
allowedHosts: 'all',
|
||||||
webSocketServer: 'sockjs',
|
webSocketServer: 'sockjs',
|
||||||
proxy: {
|
proxy: {
|
||||||
['^((?!/login)(?!/document))']: {
|
['^((?!/login)(?!/document))']: {
|
||||||
|
|
|
@ -12,7 +12,7 @@ module.exports = {
|
||||||
client: {
|
client: {
|
||||||
webSocketTransport: 'sockjs',
|
webSocketTransport: 'sockjs',
|
||||||
},
|
},
|
||||||
disableHostCheck: true,
|
allowedHosts: 'all',
|
||||||
webSocketServer: 'sockjs',
|
webSocketServer: 'sockjs',
|
||||||
proxy: {
|
proxy: {
|
||||||
['^((?!/login)(?!/document))']: {
|
['^((?!/login)(?!/document))']: {
|
||||||
|
|
|
@ -12,7 +12,7 @@ module.exports = {
|
||||||
client: {
|
client: {
|
||||||
webSocketTransport: 'sockjs',
|
webSocketTransport: 'sockjs',
|
||||||
},
|
},
|
||||||
disableHostCheck: true,
|
allowedHosts: 'all',
|
||||||
webSocketServer: 'sockjs',
|
webSocketServer: 'sockjs',
|
||||||
proxy: {
|
proxy: {
|
||||||
['^((?!/login)(?!/document))']: {
|
['^((?!/login)(?!/document))']: {
|
||||||
|
|
|
@ -15,7 +15,7 @@ module.exports = {
|
||||||
client: {
|
client: {
|
||||||
webSocketTransport: 'sockjs',
|
webSocketTransport: 'sockjs',
|
||||||
},
|
},
|
||||||
disableHostCheck: true,
|
allowedHosts: 'all',
|
||||||
webSocketServer: 'sockjs',
|
webSocketServer: 'sockjs',
|
||||||
proxy: {
|
proxy: {
|
||||||
['^((?!/login)(?!/document))']: {
|
['^((?!/login)(?!/document))']: {
|
||||||
|
|
Loading…
Reference in New Issue