Browse Source

添加Cookie依賴

Dev
18300102974 2 years ago
parent
commit
6fb005a349
  1. 6
      FrontEnd/nuxt.config.js
  2. 1
      FrontEnd/package.json

6
FrontEnd/nuxt.config.js

@ -95,6 +95,7 @@ export default {
{ src: "~/plugins/vue-scroll-to" },
{ src: "~/plugins/photoswipe", mode: "client", ssr: false },
{ src: "~/plugins/plugins-print", mode: "client", ssr: false },
// {src: "~/plugins/storeCache", ssr: false },
// { src: '@/plugins/router', ssr: false} // 先僅用路由前獲取OrgID
],
@ -118,6 +119,7 @@ export default {
"@nuxtjs/auth-next",
"@nuxtjs/robots",
"nuxt-route-meta",
"cookie-universal-nuxt",
["vue-scrollto/nuxt", { duration: 300 }],
],
@ -130,8 +132,8 @@ export default {
},
proxy: {
'/trending': {
target: 'http://www.origtek.com:3002',// 服務地址
// target: 'http://localhost:3466',// 服務地址
// target: 'http://www.origtek.com:3002',// 服務地址
target: 'http://localhost:3466',// 服務地址
pathRewrite: {
'^/trending': '/'
},

1
FrontEnd/package.json

@ -16,6 +16,7 @@
"@nuxtjs/vuetify": "^1.12.3",
"@vue/composition-api": "^1.7.1",
"ant-design-vue": "^1.7.8",
"cookie-universal-nuxt": "^2.2.2",
"core-js": "^3.19.3",
"cross-env": "^7.0.3",
"element-ui": "^2.15.10",

Loading…
Cancel
Save