remove nuxt-express-module and use serverMiddleware directly
This commit is contained in:
parent
fad110c432
commit
5ec01cc3f2
2 changed files with 3 additions and 3 deletions
|
@ -56,10 +56,11 @@ module.exports = {
|
|||
// Doc: https://axios.nuxtjs.org/usage
|
||||
'@nuxtjs/axios',
|
||||
'@nuxtjs/auth',
|
||||
['nuxt-express-module', { expressPath: 'server/', routesPath: 'server/routes' }],
|
||||
'@/server/initialize.server.js'
|
||||
],
|
||||
|
||||
serverMiddleware: ['server/routes'],
|
||||
|
||||
/*
|
||||
** Axios module configuration
|
||||
* See https://github.com/nuxt-community/axios-module#options
|
||||
|
|
|
@ -50,8 +50,7 @@
|
|||
"microformat-node": "^2.0.1",
|
||||
"mkdirp": "^1.0.4",
|
||||
"multer": "^1.4.3",
|
||||
"nuxt-edge": "^2.16.0-27253456.4a986da8",
|
||||
"nuxt-express-module": "^0.0.11",
|
||||
"nuxt-edge": "^2.16.0-27256336.293dc11a",
|
||||
"pg": "^8.6.0",
|
||||
"sequelize": "^6.8.0",
|
||||
"sequelize-slugify": "^1.6.0",
|
||||
|
|
Loading…
Reference in a new issue