-
-
Notifications
You must be signed in to change notification settings - Fork 254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not finding any vuetify components #101
Comments
https://vuetifyjs.com/en/guides/a-la-carte#vuetify-loader See vuetify loader limitations |
That seems to work. Is this normal? Should I have to manually import every single vuetify component just to use this calendar? import Vuetify, {
VIcon,
VBtn,
VFabTransition,
VSpacer,
VCardActions,
VCardTitle,
VCard,
VDialog,
VList,
VSelect,
VContainer,
VContent,
VListTileAction,
VListTile,
VListTileContent,
VListTileTitle,
VMenu,
VTooltip,
VToolbarSideIcon,
VToolbarTitle,
VToolbar,
VNavigationDrawer,
VCardText,
VTextField,
VLayout,
VFlex,
VCheckbox,
VTabs,
VTab,
VTabItem,
VTextarea,
VListTileAvatar
} from "vuetify/lib";
Vue.use(Vuetify, {
iconfont: "fa",
components: {
VIcon,
VBtn,
VFabTransition,
VSpacer,
VCardActions,
VCardTitle,
VCard,
VDialog,
VList,
VSelect,
VContainer,
VContent,
VListTileAction,
VListTile,
VListTileContent,
VListTileTitle,
VMenu,
VTooltip,
VToolbarSideIcon,
VToolbarTitle,
VToolbar,
VNavigationDrawer,
VCardText,
VTextField,
VLayout,
VFlex,
VCheckbox,
VTabs,
VTab,
VTabItem,
VTextarea,
VListTileAvatar
}
}); This seems excessive. |
Use this approach if you need some of components to decrease bundle size. If you will use all components of vuetify just import Vuetify like |
Okay, I see. I was doing |
hey @andrewhl , did you figure out why the styling was a bit off? I'm facing the same issues even-though I used the |
@0dysseas Hey. Sorry, I abandoned this a while ago. |
I'm using
dayspan-vuetify
version"^0.3.6"
, andvuetify
version"^1.3.3"
. I've followed the installation instructions, but I'm getting a lot of vue warnings:This warning appears for a lot of different components:
...
And dozens more. The calendar appears completely unstyled.
This is my vuetify.js import file:
Which I import into my
main.js
file:I'm mounting the calendar as follows:
I'm not sure why I'm getting these warnings. I have vuetify installed and working correctly in the rest of my application, and have been able to use it without any difficulty.
My only thought is that I am running into some library collisions, as I have the bootstrap and elementUI frameworks installed (I'm currently transitioning to vuetify, and I'm working on removing these other frameworks). Is it possible those frameworks are interfering with this library?
The text was updated successfully, but these errors were encountered: