mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 14:33:33 -07:00
refactor/Componenet folder structure rework
This commit is contained in:
parent
a4405f72ea
commit
340d905c3b
12 changed files with 17 additions and 17 deletions
|
@ -27,7 +27,7 @@
|
||||||
<v-icon>mdi-magnify</v-icon>
|
<v-icon>mdi-magnify</v-icon>
|
||||||
</v-btn>
|
</v-btn>
|
||||||
|
|
||||||
<Menu />
|
<SiteMenu />
|
||||||
</v-app-bar>
|
</v-app-bar>
|
||||||
<v-main>
|
<v-main>
|
||||||
<v-container>
|
<v-container>
|
||||||
|
@ -40,15 +40,15 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import Menu from "./components/UI/Menu";
|
import SiteMenu from "./components/UI/SiteMenu";
|
||||||
import SearchBar from "./components/UI/SearchBar";
|
import SearchBar from "./components/UI/Search/SearchBar";
|
||||||
import AddRecipeFab from "./components/UI/AddRecipeFab";
|
import AddRecipeFab from "./components/UI/AddRecipeFab";
|
||||||
import Vuetify from "./plugins/vuetify";
|
import Vuetify from "./plugins/vuetify";
|
||||||
export default {
|
export default {
|
||||||
name: "App",
|
name: "App",
|
||||||
|
|
||||||
components: {
|
components: {
|
||||||
Menu,
|
SiteMenu,
|
||||||
AddRecipeFab,
|
AddRecipeFab,
|
||||||
SearchBar,
|
SearchBar,
|
||||||
},
|
},
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import utils from "@/utils";
|
import utils from "@/utils";
|
||||||
import SearchDialog from "../UI/SearchDialog";
|
import SearchDialog from "../UI/Search/SearchDialog";
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
SearchDialog,
|
SearchDialog,
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import Confirmation from "./Confirmation";
|
import Confirmation from "../../components/UI/Confirmation";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
props: {
|
props: {
|
|
@ -53,7 +53,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import RecipeCard from "./RecipeCard";
|
import RecipeCard from "../Recipe/RecipeCard";
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
RecipeCard,
|
RecipeCard,
|
||||||
|
|
|
@ -43,8 +43,8 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import SearchBar from "../UI/SearchBar";
|
import SearchBar from "./SearchBar";
|
||||||
import RecipeCard from "../UI/RecipeCard";
|
import RecipeCard from "../../Recipe/RecipeCard";
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
SearchBar,
|
SearchBar,
|
|
@ -12,7 +12,7 @@
|
||||||
</v-img>
|
</v-img>
|
||||||
<br v-else />
|
<br v-else />
|
||||||
|
|
||||||
<ButtonRow
|
<EditorButtonRow
|
||||||
@json="jsonEditor = true"
|
@json="jsonEditor = true"
|
||||||
@editor="jsonEditor = false"
|
@editor="jsonEditor = false"
|
||||||
@save="createRecipe"
|
@save="createRecipe"
|
||||||
|
@ -43,12 +43,12 @@ import api from "@/api";
|
||||||
|
|
||||||
import RecipeEditor from "../components/Recipe/RecipeEditor";
|
import RecipeEditor from "../components/Recipe/RecipeEditor";
|
||||||
import VJsoneditor from "v-jsoneditor";
|
import VJsoneditor from "v-jsoneditor";
|
||||||
import ButtonRow from "../components/UI/ButtonRow";
|
import EditorButtonRow from "../components/Recipe/EditorButtonRow";
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
VJsoneditor,
|
VJsoneditor,
|
||||||
RecipeEditor,
|
RecipeEditor,
|
||||||
ButtonRow,
|
EditorButtonRow,
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
:performTime="recipeDetails.performTime"
|
:performTime="recipeDetails.performTime"
|
||||||
/>
|
/>
|
||||||
</v-img>
|
</v-img>
|
||||||
<ButtonRow
|
<EditorButtonRow
|
||||||
:open="showIcons"
|
:open="showIcons"
|
||||||
@json="jsonEditor = true"
|
@json="jsonEditor = true"
|
||||||
@editor="
|
@editor="
|
||||||
|
@ -62,14 +62,14 @@ import VJsoneditor from "v-jsoneditor";
|
||||||
import RecipeViewer from "../components/Recipe/RecipeViewer";
|
import RecipeViewer from "../components/Recipe/RecipeViewer";
|
||||||
import RecipeEditor from "../components/Recipe/RecipeEditor";
|
import RecipeEditor from "../components/Recipe/RecipeEditor";
|
||||||
import RecipeTimeCard from "../components/Recipe/RecipeTimeCard.vue";
|
import RecipeTimeCard from "../components/Recipe/RecipeTimeCard.vue";
|
||||||
import ButtonRow from "../components/UI/ButtonRow";
|
import EditorButtonRow from "../components/Recipe/EditorButtonRow";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
VJsoneditor,
|
VJsoneditor,
|
||||||
RecipeViewer,
|
RecipeViewer,
|
||||||
RecipeEditor,
|
RecipeEditor,
|
||||||
ButtonRow,
|
EditorButtonRow,
|
||||||
RecipeTimeCard,
|
RecipeTimeCard,
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
|
|
|
@ -34,8 +34,8 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import SearchBar from "../components/UI/SearchBar";
|
import SearchBar from "../components/UI/Search/SearchBar";
|
||||||
import RecipeCard from "../components/UI/RecipeCard";
|
import RecipeCard from "../components/Recipe/RecipeCard";
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
SearchBar,
|
SearchBar,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue