mirror of
				https://github.com/mealie-recipes/mealie.git
				synced 2025-11-03 10:43:40 -05:00 
			
		
		
		
	* update types * remove toolbox routes * remove unused "" * add generic crud table * update calls for type safety * recreate food/unit editors * fix type error * remove shopping list link * add transition * add basic search box * conditional show-select * styling + basic download support * generic download as json function * add fraction support * add export option * add label text
		
			
				
	
	
		
			25 lines
		
	
	
		
			443 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			443 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
<template>
 | 
						|
  <div></div>
 | 
						|
</template>
 | 
						|
 | 
						|
<script lang="ts">
 | 
						|
import { defineComponent, onMounted, useRouter } from "@nuxtjs/composition-api";
 | 
						|
 | 
						|
export default defineComponent({
 | 
						|
  props: {
 | 
						|
    value: {
 | 
						|
      type: Boolean,
 | 
						|
      default: false,
 | 
						|
    },
 | 
						|
  },
 | 
						|
  setup() {
 | 
						|
    const router = useRouter();
 | 
						|
    onMounted(() => {
 | 
						|
      // Force redirect to first valid page
 | 
						|
      router.push("/group/data/foods");
 | 
						|
    });
 | 
						|
    return {};
 | 
						|
  },
 | 
						|
});
 | 
						|
</script>
 |