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
unknown custom element v-snakbar & v-btn #6
Comments
@akkhan20 thanks for posting an issue, but I can't reproduce your issue, can you please add a link where I can see it as well as provide what browser are you using. Thank you. On the side note I assume you have |
sorry i believe the problem is with vuetify-loader or the way it works because when this plugin is installed through npm it throws that error but if the plugin is replicated directly into the project then it works fine. |
I found the cause of this error, the vuetify documentation mentioned in the introduction to vuetify-loader (this):
So I do this: import Vue from 'vue'
import Vuetify, { VIcon, VSnackbar } from 'vuetify/lib'
import 'vuetify/src/stylus/app.styl'
Vue.use(Vuetify, {
components: {
// the components which Toast.vue used
VIcon,
VSnackbar
}
}) And the problem is solved |
Thank you @sunriseydy! Looks similar to Nuxt.js behaviour. |
I also experience this issue and has been solved by sunriseydy's answer. Please just add this information on readme |
When using vuetify loader the browser console says
main.js
vuetifyToastSnackbar.js
The text was updated successfully, but these errors were encountered: