mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-15 06:35:20 -07:00
Move Game List to static folder
This commit is contained in:
parent
4255174dd3
commit
b22fd148f1
5 changed files with 6 additions and 6 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -84,6 +84,6 @@ dist
|
|||
# Other
|
||||
/static/app-list.json
|
||||
/README-temp.md
|
||||
/game-list.json
|
||||
/static/game-list.json
|
||||
.DS_Store
|
||||
/commits-data.json
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ const storeAppList = async function (builder) {
|
|||
const gamesListPath = path.join(
|
||||
// builder.nuxt.options.buildDir,
|
||||
builder.nuxt.options.srcDir,
|
||||
'/game-list.json'
|
||||
'/static/game-list.json'
|
||||
)
|
||||
|
||||
const appList = await buildAppList()
|
||||
|
|
@ -60,7 +60,7 @@ export default {
|
|||
routes() {
|
||||
return Promise.all([
|
||||
import('./static/app-list.json'),
|
||||
import('./game-list.json')
|
||||
import('./static/game-list.json')
|
||||
])
|
||||
.then(([
|
||||
importedAppList,
|
||||
|
|
|
|||
|
|
@ -118,7 +118,7 @@
|
|||
<script>
|
||||
import LinkButton from '~/components/link-button.vue'
|
||||
import EmailSubscribe from '~/components/email-subscribe.vue'
|
||||
import gameList from '~/game-list.json'
|
||||
import gameList from '~/static/game-list.json'
|
||||
// import buildAppList from '~/helpers/build-app-list'
|
||||
|
||||
export default {
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@
|
|||
import Search from '~/components/search.vue'
|
||||
import LinkButton from '~/components/link-button.vue'
|
||||
|
||||
import gameList from '~/game-list.json'
|
||||
import gameList from '~/static/game-list.json'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ import LinkButton from '~/components/link-button.vue'
|
|||
import { byTimeThenNull } from '~/helpers/sort-list.js'
|
||||
|
||||
import appList from '~/static/app-list.json'
|
||||
import gameList from '~/game-list.json'
|
||||
import gameList from '~/static/game-list.json'
|
||||
|
||||
// console.log('appList.length', appList.length)
|
||||
// console.log('gameList.length', gameList.length)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue