You've already forked AstralRinth
forked from didirus/AstralRinth
* Base impl * Make project type selectable * Update Browse.vue * address changes * Quick create * Run linter * fix merge * Addressed changes * Installation improvements * Run lint * resourcepacks * automatic installation of dependencies * Fix bugs with search * Addressed changes * Run linter * Fixed direct install not working * Remove back to search * Update Index.vue * Addressed some changes * Shader fix * fix resetting * Update Browse.vue * fixed install not working properly * Update Index.vue --------- Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com> Co-authored-by: Jai A <jaiagr+gpg@pm.me>
23 lines
622 B
Vue
23 lines
622 B
Vue
<script setup>
|
|
import GridDisplay from '@/components/GridDisplay.vue'
|
|
import { shallowRef } from 'vue'
|
|
import { list } from '@/helpers/profile'
|
|
import { useRoute } from 'vue-router'
|
|
import { useBreadcrumbs } from '@/store/breadcrumbs'
|
|
|
|
const route = useRoute()
|
|
const breadcrumbs = useBreadcrumbs()
|
|
|
|
const profiles = await list()
|
|
const instances = shallowRef(Object.values(profiles))
|
|
|
|
breadcrumbs.setRootContext({ name: 'Library', link: route.path })
|
|
</script>
|
|
|
|
<template>
|
|
<div>
|
|
<GridDisplay label="Instances" :instances="instances" />
|
|
<GridDisplay label="Modpacks" :instances="instances" />
|
|
</div>
|
|
</template>
|