mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -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
|
# Other
|
||||||
/dist/app-list.json
|
/app-list.json
|
||||||
|
|
|
||||||
|
|
@ -120,7 +120,7 @@
|
||||||
<script>
|
<script>
|
||||||
import scrollIntoView from 'scroll-into-view-if-needed'
|
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'
|
import EmailSubscribe from '~/components/email-subscribe.vue'
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ const storeAppList = async function (builder) {
|
||||||
const appListPath = path.join(
|
const appListPath = path.join(
|
||||||
// builder.nuxt.options.buildDir,
|
// builder.nuxt.options.buildDir,
|
||||||
builder.nuxt.options.srcDir,
|
builder.nuxt.options.srcDir,
|
||||||
'/dist/app-list.json'
|
'/app-list.json'
|
||||||
)
|
)
|
||||||
|
|
||||||
const appList = await buildAppList()
|
const appList = await buildAppList()
|
||||||
|
|
@ -43,7 +43,7 @@ export default {
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
routes() {
|
routes() {
|
||||||
return import('./dist/app-list.json')//buildAppList()
|
return import('./app-list.json')//buildAppList()
|
||||||
.then((importedAppList) => {
|
.then((importedAppList) => {
|
||||||
const appList = importedAppList.default
|
const appList = importedAppList.default
|
||||||
// console.log('appList', appList)
|
// console.log('appList', appList)
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@
|
||||||
<script>
|
<script>
|
||||||
import LinkButton from '~/components/link-button.vue'
|
import LinkButton from '~/components/link-button.vue'
|
||||||
import EmailSubscribe from '~/components/email-subscribe.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'
|
// import buildAppList from '~/helpers/build-app-list'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@
|
||||||
import Search from '~/components/search.vue'
|
import Search from '~/components/search.vue'
|
||||||
import LinkButton from '~/components/link-button.vue'
|
import LinkButton from '~/components/link-button.vue'
|
||||||
|
|
||||||
import appList from '~/dist/app-list.json'
|
import appList from '~/app-list.json'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@
|
||||||
import Search from '~/components/search.vue'
|
import Search from '~/components/search.vue'
|
||||||
import LinkButton from '~/components/link-button.vue'
|
import LinkButton from '~/components/link-button.vue'
|
||||||
|
|
||||||
import appList from '~/dist/app-list.json'
|
import appList from '~/app-list.json'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
async asyncData ({ params: { slug } }) {
|
async asyncData ({ params: { slug } }) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue