Fix bug and update
This commit is contained in:
+7
-2
@@ -62,7 +62,12 @@ export default {
|
||||
],
|
||||
|
||||
// Auto import components (https://go.nuxtjs.dev/config-components)
|
||||
components: true,
|
||||
components: [
|
||||
{
|
||||
path: '~/components',
|
||||
pathPrefix: false,
|
||||
},
|
||||
],
|
||||
|
||||
// Modules for dev and build (recommended) (https://go.nuxtjs.dev/config-modules)
|
||||
buildModules: ['@nuxtjs/pwa'],
|
||||
@@ -102,7 +107,7 @@ export default {
|
||||
proxy: true
|
||||
},
|
||||
proxy: {
|
||||
'/api': { target: `http://127.0.0.1:${isProduction ? NuxtPort : DevServerPort}` }
|
||||
'/api': { target: `http://127.0.0.1:${isProduction ? NuxtPort : DevServerPort}` }
|
||||
},
|
||||
// Build Configuration (https://go.nuxtjs.dev/config-build)
|
||||
build: {
|
||||
|
||||
Reference in New Issue
Block a user