Move app list to dist folder

This commit is contained in:
Sam Carlton 2020-11-17 12:21:17 -06:00
parent dd79736bb0
commit 478131f314
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,
'/assets/app-list.json'
'/dist/app-list.json'
)
const appList = await buildAppList()
@ -43,7 +43,7 @@ export default {
]
},
routes() {
return import('./assets/app-list.json')//buildAppList()
return import('./dist/app-list.json')//buildAppList()
.then((importedAppList) => {
const appList = importedAppList.default
// console.log('appList', appList)