mirror of
				https://github.com/mealie-recipes/mealie.git
				synced 2025-11-04 03:03:18 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			26 lines
		
	
	
		
			659 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			659 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
<template>
 | 
						|
  <v-container>
 | 
						|
    <RecipeCardSection
 | 
						|
      :icon="$globals.icons.primary"
 | 
						|
      :title="$t('page.all-recipes')"
 | 
						|
      :recipes="allRecipes"
 | 
						|
      @sort="assignSorted"
 | 
						|
    ></RecipeCardSection>
 | 
						|
  </v-container>
 | 
						|
</template>
 | 
						|
  
 | 
						|
<script lang="ts">
 | 
						|
import { defineComponent } from "@nuxtjs/composition-api";
 | 
						|
import RecipeCardSection from "~/components/Domain/Recipe/RecipeCardSection.vue";
 | 
						|
import { useRecipes, allRecipes } from "~/composables/use-recipes";
 | 
						|
 | 
						|
export default defineComponent({
 | 
						|
  components: { RecipeCardSection },
 | 
						|
  setup() {
 | 
						|
    const { assignSorted } = useRecipes(true);
 | 
						|
 | 
						|
    return { allRecipes, assignSorted };
 | 
						|
  },
 | 
						|
});
 | 
						|
</script>
 | 
						|
   |