mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Move app list to dist folder
This commit is contained in:
parent
dd79736bb0
commit
478131f314
6 changed files with 7 additions and 7 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue