Skip to content

Commit

Permalink
Merge pull request #3 from bayeer/fix/multiword-component-names
Browse files Browse the repository at this point in the history
Rename one-word components to multi-word ones
  • Loading branch information
tal7aouy authored Jun 29, 2024
2 parents af9e125 + b24f865 commit b5a105e
Show file tree
Hide file tree
Showing 16 changed files with 17 additions and 17 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions src/components/DashboardLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</template>

<script setup lang="ts">
import Sidebar from './Sidebar.vue'
import Header from './Header.vue'
import Footer from './Footer.vue'
import Sidebar from './AppSidebar.vue'
import Header from './AppHeader.vue'
import Footer from './AppFooter.vue'
</script>
File renamed without changes.
File renamed without changes.
10 changes: 5 additions & 5 deletions src/router/index.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { createRouter, createWebHistory, RouteRecordRaw } from "vue-router";
import Dashboard from "../views/Dashboard.vue";
import Forms from "../views/Forms.vue";
import Tables from "../views/Tables.vue";
import Dashboard from "../views/AppDashboard.vue";
import Forms from "../views/AppForms.vue";
import Tables from "../views/AppTables.vue";
import UIElements from "../views/UIElements.vue";
import Login from "../views/Login.vue";
import Modal from "../views/Modal.vue";
import Login from "../views/AppLogin.vue";
import Modal from "../views/AppModal.vue";
import Chart from "../views/ChartView.vue";
import Card from "../views/CardView.vue";
import Blank from "../views/BlankView.vue";
Expand Down
4 changes: 2 additions & 2 deletions src/views/Dashboard.vue → src/views/AppDashboard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -333,8 +333,8 @@

<script setup lang="ts">
import { ref } from "vue";
import Banner from "../partials/Banner.vue";
import Breadcrumb from "../partials/Breadcrumb.vue";
import Banner from "../partials/AppBanner.vue";
import Breadcrumb from "../partials/AppBreadcrumb.vue";
interface User {
name: string;
email: string;
Expand Down
2 changes: 1 addition & 1 deletion src/views/Forms.vue → src/views/AppForms.vue
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@

<script setup lang="ts">
import { ref } from 'vue'
import Breadcrumb from '../partials/Breadcrumb.vue'
import Breadcrumb from '../partials/AppBreadcrumb.vue'
interface User {
username: string
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/views/Modal.vue → src/views/AppModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@

<script setup lang="ts">
import { ref } from 'vue'
import Breadcrumb from '../partials/Breadcrumb.vue'
import Breadcrumb from '../partials/AppBreadcrumb.vue'
const open = ref(false)
</script>
Expand Down
2 changes: 1 addition & 1 deletion src/views/Tables.vue → src/views/AppTables.vue
Original file line number Diff line number Diff line change
Expand Up @@ -413,5 +413,5 @@
<script setup lang="ts">
import { useTableData } from '../hooks/useTableData'
const { simpleTableData, paginatedTableData, wideTableData } = useTableData()
import Breadcrumb from '../partials/Breadcrumb.vue'
import Breadcrumb from '../partials/AppBreadcrumb.vue'
</script>
2 changes: 1 addition & 1 deletion src/views/BlankView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
<Breadcrumb breadcrumb="Blank" />
</template>
<script lang="ts" setup>
import Breadcrumb from '../partials/Breadcrumb.vue'
import Breadcrumb from '../partials/AppBreadcrumb.vue'
</script>
2 changes: 1 addition & 1 deletion src/views/CardView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,5 @@
</div>
</template>
<script lang="ts" setup>
import Breadcrumb from '../partials/Breadcrumb.vue'
import Breadcrumb from '../partials/AppBreadcrumb.vue'
</script>
2 changes: 1 addition & 1 deletion src/views/ChartView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
</template>

<script setup lang="ts">
import Breadcrumb from "../partials/Breadcrumb.vue";
import Breadcrumb from "../partials/AppBreadcrumb.vue";
import DonutChart from "@/components/charts/DonutChart.vue";
import LineChart from "@/components/charts/LineChart.vue";
import BarChart from "../components/charts/BarChart.vue";
Expand Down
2 changes: 1 addition & 1 deletion src/views/UIElements.vue
Original file line number Diff line number Diff line change
Expand Up @@ -280,5 +280,5 @@
</div>
</template>
<script lang="ts" setup>
import Breadcrumb from '../partials/Breadcrumb.vue'
import Breadcrumb from '../partials/AppBreadcrumb.vue'
</script>

0 comments on commit b5a105e

Please sign in to comment.