Prevent styles compilation when importing from vuetify/lib #14233
Answered
by
KaelWD
Maxim-Mazurok
asked this question in
Q&A
-
I'm using Vuetify with TSX, so my components look like this: import * as tsx from "vue-tsx-support";
import { VNode } from "vue";
import { VBtn } from "vuetify/lib";
export default tsx.component({
name: "Dashboard",
render(): VNode {
return (
<div>
<h1>Dashboard will be here</h1>
<VBtn>some button</VBtn>
</div>
);
},
}); How can I prevent sass/scss sources from being imported/compiled? I just want to use "vuetify/dist/vuetify.min.css" to speed up the build process. I've tried |
Beta Was this translation helpful? Give feedback.
Answered by
KaelWD
Oct 5, 2021
Replies: 1 comment 4 replies
-
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
Maxim-Mazurok
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/vuetifyjs/vuetify-loader/blob/68bb4aac414eb2fc77fe8bd21cdca5c1a149715e/packages/vuetify-loader/src/plugin.ts#L73-78