diff --git a/.gitignore b/.gitignore index dd24987..1eae457 100644 --- a/.gitignore +++ b/.gitignore @@ -84,6 +84,6 @@ dist # Other /static/app-list.json /README-temp.md -/game-list.json +/static/game-list.json .DS_Store /commits-data.json diff --git a/nuxt.config.js b/nuxt.config.js index a18130c..8dcd33c 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -18,7 +18,7 @@ const storeAppList = async function (builder) { const gamesListPath = path.join( // builder.nuxt.options.buildDir, builder.nuxt.options.srcDir, - '/game-list.json' + '/static/game-list.json' ) const appList = await buildAppList() @@ -60,7 +60,7 @@ export default { routes() { return Promise.all([ import('./static/app-list.json'), - import('./game-list.json') + import('./static/game-list.json') ]) .then(([ importedAppList, diff --git a/pages/game/_slug.vue b/pages/game/_slug.vue index d4c5f88..527adaf 100644 --- a/pages/game/_slug.vue +++ b/pages/game/_slug.vue @@ -118,7 +118,7 @@