diff --git a/nuxt.config.js b/nuxt.config.js index 5cdeb19..e42d34b 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -32,9 +32,10 @@ export default { generate: { routes() { - return buildAppList() - .then((appList) => { - // console.log('result', result) + return import('./assets/app-list.json')//buildAppList() + .then((importedAppList) => { + const appList = importedAppList.default + // console.log('appList', appList) return appList.map(app => ({ route: '/app/' + app.slug,