mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-15 06:35:20 -07:00
Move app list into root folder
This commit is contained in:
parent
478131f314
commit
643be6dc21
6 changed files with 7 additions and 7 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -82,4 +82,4 @@ dist
|
|||
|
||||
|
||||
# Other
|
||||
/dist/app-list.json
|
||||
/app-list.json
|
||||
|
|
|
|||
|
|
@ -120,7 +120,7 @@
|
|||
<script>
|
||||
import scrollIntoView from 'scroll-into-view-if-needed'
|
||||
|
||||
import appList from '~/dist/app-list.json'
|
||||
import appList from '~/app-list.json'
|
||||
|
||||
import EmailSubscribe from '~/components/email-subscribe.vue'
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@
|
|||
<script>
|
||||
import LinkButton from '~/components/link-button.vue'
|
||||
import EmailSubscribe from '~/components/email-subscribe.vue'
|
||||
import appList from '~/dist/app-list.json'
|
||||
import appList from '~/app-list.json'
|
||||
// import buildAppList from '~/helpers/build-app-list'
|
||||
|
||||
export default {
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
import Search from '~/components/search.vue'
|
||||
import LinkButton from '~/components/link-button.vue'
|
||||
|
||||
import appList from '~/dist/app-list.json'
|
||||
import appList from '~/app-list.json'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@
|
|||
import Search from '~/components/search.vue'
|
||||
import LinkButton from '~/components/link-button.vue'
|
||||
|
||||
import appList from '~/dist/app-list.json'
|
||||
import appList from '~/app-list.json'
|
||||
|
||||
export default {
|
||||
async asyncData ({ params: { slug } }) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue