♻️ Replace relative paths with "@" alias
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
<script setup>
|
||||
import { selectedDate, selectedDay, changeDay, changeDate } from "../store";
|
||||
import { selectedDate, selectedDay, changeDay, changeDate } from "@/store";
|
||||
import { ArrowLeftIcon, ArrowRightIcon } from "lucide-vue-next";
|
||||
import dayjs from "dayjs";
|
||||
import { getDateSkippingWeekend } from "../util";
|
||||
import { getDateSkippingWeekend } from "@/util";
|
||||
|
||||
const dayNames = [
|
||||
"days.sunday",
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<script setup>
|
||||
import { selectedDate, changeDate, changeDay } from "../store";
|
||||
import { selectedDate, changeDate, changeDay } from "@/store";
|
||||
import { Swiper, SwiperSlide } from "swiper/vue";
|
||||
import { Virtual } from "swiper";
|
||||
import { ref, watch } from "vue";
|
||||
import { getDateSkippingWeekend } from "../util";
|
||||
import ScrollableContainer from "../components/scrollable-container.vue";
|
||||
import { getDateSkippingWeekend } from "@/util";
|
||||
import ScrollableContainer from "@/components/scrollable-container.vue";
|
||||
|
||||
defineProps({
|
||||
element: {
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<script setup>
|
||||
import { history, loadingFailed } from "../store";
|
||||
import { getSubstitutionText } from "../util";
|
||||
import { history, loadingFailed } from "@/store";
|
||||
import { getSubstitutionText } from "@/util";
|
||||
import { computed } from "vue";
|
||||
import dayjs from "dayjs";
|
||||
import InfoCard from "./info-card.vue";
|
||||
import InfoCard from "@/components/info-card.vue";
|
||||
import { ClockIcon, AlarmClockOffIcon, CloudOffIcon } from "lucide-vue-next";
|
||||
|
||||
const props = defineProps({
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<script setup>
|
||||
import { substitutions, loadingFailed } from "../store";
|
||||
import { getSubstitutionText, getSubstitutionColor } from "../util";
|
||||
import { substitutions, loadingFailed } from "@/store";
|
||||
import { getSubstitutionText, getSubstitutionColor } from "@/util";
|
||||
import { computed } from "vue";
|
||||
import InfoCard from "./info-card.vue";
|
||||
import InfoCard from "@/components/info-card.vue";
|
||||
import { BellOffIcon, ClockIcon, CloudOffIcon } from "lucide-vue-next";
|
||||
|
||||
const props = defineProps({
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<script setup>
|
||||
import { timetable, parsedTimetable, substitutions } from "../store";
|
||||
import { getSubstitutionColor } from "../util";
|
||||
import { timetable, parsedTimetable, substitutions } from "@/store";
|
||||
import { getSubstitutionColor } from "@/util";
|
||||
import { computed } from "vue";
|
||||
|
||||
const props = defineProps({
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
import { MenuIcon } from "lucide-vue-next";
|
||||
import { computed } from "vue";
|
||||
import { useRoute, useRouter, RouterLink } from "vue-router";
|
||||
import { lastDataRoute } from "../router/index";
|
||||
import { lastDataRoute } from "@/router/index";
|
||||
|
||||
const route = useRoute();
|
||||
const router = useRouter();
|
||||
|
||||
Reference in New Issue
Block a user