build: 增加vue打包配置
This commit is contained in:
parent
804a9c9037
commit
7b34dc53b5
|
@ -12,6 +12,7 @@ module.exports = {
|
||||||
client: {
|
client: {
|
||||||
webSocketTransport: 'sockjs',
|
webSocketTransport: 'sockjs',
|
||||||
},
|
},
|
||||||
|
disableHostCheck: true,
|
||||||
webSocketServer: 'sockjs',
|
webSocketServer: 'sockjs',
|
||||||
proxy: {
|
proxy: {
|
||||||
['^((?!/login)(?!/document))']: {
|
['^((?!/login)(?!/document))']: {
|
||||||
|
|
|
@ -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',
|
||||||
|
|
|
@ -12,6 +12,7 @@ module.exports = {
|
||||||
client: {
|
client: {
|
||||||
webSocketTransport: 'sockjs',
|
webSocketTransport: 'sockjs',
|
||||||
},
|
},
|
||||||
|
disableHostCheck: true,
|
||||||
webSocketServer: 'sockjs',
|
webSocketServer: 'sockjs',
|
||||||
proxy: {
|
proxy: {
|
||||||
['^((?!/login)(?!/document))']: {
|
['^((?!/login)(?!/document))']: {
|
||||||
|
|
|
@ -12,6 +12,7 @@ module.exports = {
|
||||||
client: {
|
client: {
|
||||||
webSocketTransport: 'sockjs',
|
webSocketTransport: 'sockjs',
|
||||||
},
|
},
|
||||||
|
disableHostCheck: true,
|
||||||
webSocketServer: 'sockjs',
|
webSocketServer: 'sockjs',
|
||||||
proxy: {
|
proxy: {
|
||||||
['^((?!/login)(?!/document))']: {
|
['^((?!/login)(?!/document))']: {
|
||||||
|
|
|
@ -12,6 +12,7 @@ module.exports = {
|
||||||
client: {
|
client: {
|
||||||
webSocketTransport: 'sockjs',
|
webSocketTransport: 'sockjs',
|
||||||
},
|
},
|
||||||
|
disableHostCheck: true,
|
||||||
webSocketServer: 'sockjs',
|
webSocketServer: 'sockjs',
|
||||||
proxy: {
|
proxy: {
|
||||||
['^((?!/login)(?!/document))']: {
|
['^((?!/login)(?!/document))']: {
|
||||||
|
|
|
@ -12,6 +12,7 @@ module.exports = {
|
||||||
client: {
|
client: {
|
||||||
webSocketTransport: 'sockjs',
|
webSocketTransport: 'sockjs',
|
||||||
},
|
},
|
||||||
|
disableHostCheck: true,
|
||||||
webSocketServer: 'sockjs',
|
webSocketServer: 'sockjs',
|
||||||
proxy: {
|
proxy: {
|
||||||
['^((?!/login)(?!/document))']: {
|
['^((?!/login)(?!/document))']: {
|
||||||
|
|
|
@ -15,6 +15,7 @@ module.exports = {
|
||||||
client: {
|
client: {
|
||||||
webSocketTransport: 'sockjs',
|
webSocketTransport: 'sockjs',
|
||||||
},
|
},
|
||||||
|
disableHostCheck: true,
|
||||||
webSocketServer: 'sockjs',
|
webSocketServer: 'sockjs',
|
||||||
proxy: {
|
proxy: {
|
||||||
['^((?!/login)(?!/document))']: {
|
['^((?!/login)(?!/document))']: {
|
||||||
|
|
Loading…
Reference in New Issue