Skip to content
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

Cannot Login and vuejs errores #5

Open
scumbagblues opened this issue May 5, 2019 · 1 comment
Open

Cannot Login and vuejs errores #5

scumbagblues opened this issue May 5, 2019 · 1 comment

Comments

@scumbagblues
Copy link

Login options doesn't appear and I have a lot of vue errors od components that it was not mounted.

image

@BraunLukas
Copy link

BraunLukas commented May 21, 2019

@scumbagblues
Had the same issue, solved it by adding ".default" when registering the Vue components

resources/js/app.js

Vue.component(
  "login-button",
  require("./components/LoginButtonComponent.vue").default
);
Vue.component(
  "register-button",
  require("./components/RegisterButtonComponent.vue").default
);
Vue.component(
  "remember-password",
  require("./components/RememberPasswordComponent.vue").default
);
Vue.component(
  "reset-password",
  require("./components/ResetPasswordComponent.vue").default
);
Vue.component(
  "snackbar",
  require("./components/SnackBarComponent.vue").default
);
Vue.component(
  "gravatar",
  require("./components/GravatarComponent.vue").default
);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants