helpful-receptionist-4197
05/05/2023, 2:03 PMts
// cypress/support/component.ts
import "./commands";
import { mount } from "cypress/vue";
import { app } from "../src/main.js";
// do something with `app` so it's actually used
Cypress.Commands.add('mount', mount)helpful-receptionist-4197
05/07/2023, 1:46 AMjs
import App from "./App.vue";
import { createApp } from "vue";
import VueSortable from "vue3-sortablejs";
// icons
import "@mdi/font/css/materialdesignicons.css";
import "@fortawesome/fontawesome-free/css/all.css";
import { aliases, fa } from "vuetify/iconsets/fa";
import { mdi } from "vuetify/iconsets/mdi";
// vuetify
import "vuetify/styles";
import * as components from "vuetify/components";
import * as directives from "vuetify/directives";
import colors from "vuetify/lib/util/colors";
import { createVuetify } from "vuetify";
// needs to be below vuetify
import "./assets/main.scss";
import "./assets/print.scss";
// start loading
import "./globals";
const app = createApp(App);
app.use(VueSortable);
const vuetify = createVuetify({
components: components,
directives: directives,
display: {
mobileBreakpoint: "md",
},
theme: {
defaultTheme: "dark",
themes: {
// like 50 lines skipped
},
},
icons: {
defaultSet: "fa",
aliases,
sets: { fa, mdi }
}
});
app.use(vuetify);
app.mount("#app");
most of my components don't render at all without vuetifyhelpful-receptionist-4197
05/07/2023, 2:42 AMhelpful-receptionist-4197
05/07/2023, 2:45 AMhttps://cdn.discordapp.com/attachments/1104045811744124988/1104599773073383495/image.png▾
helpful-receptionist-4197
05/07/2023, 2:48 AMhelpful-receptionist-4197
05/07/2023, 6:22 PM