Moce app list to static folder

This commit is contained in:
Sam Carlton 2020-11-26 16:00:42 -06:00
parent 648c7914e5
commit b475efa577
6 changed files with 7 additions and 7 deletions

View file

@ -12,7 +12,7 @@ const storeAppList = async function (builder) {
const appListPath = path.join(
// builder.nuxt.options.buildDir,
builder.nuxt.options.srcDir,
'/app-list.json'
'/static/app-list.json'
)
const gamesListPath = path.join(
@ -59,7 +59,7 @@ export default {
},
routes() {
return Promise.all([
import('./app-list.json'),
import('./static/app-list.json'),
import('./game-list.json')
])
.then(([