Move app list into root folder

This commit is contained in:
Sam Carlton 2020-11-17 12:23:17 -06:00
parent 478131f314
commit 643be6dc21
6 changed files with 7 additions and 7 deletions

View file

@ -9,7 +9,7 @@ const storeAppList = async function (builder) {
const appListPath = path.join(
// builder.nuxt.options.buildDir,
builder.nuxt.options.srcDir,
'/dist/app-list.json'
'/app-list.json'
)
const appList = await buildAppList()
@ -43,7 +43,7 @@ export default {
]
},
routes() {
return import('./dist/app-list.json')//buildAppList()
return import('./app-list.json')//buildAppList()
.then((importedAppList) => {
const appList = importedAppList.default
// console.log('appList', appList)