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

Dialog is not working with routes #459

Closed
AhsanAbrar opened this issue Mar 13, 2017 · 3 comments
Closed

Dialog is not working with routes #459

AhsanAbrar opened this issue Mar 13, 2017 · 3 comments

Comments

@AhsanAbrar
Copy link

when i use this in my routes template

import { Dialog } from 'quasar'
Dialog.create({
  title: 'Alert',
  message: 'Modern HTML5 Single Page Application front-end framework on steroids.'
})

so i'm seeing this error

Uncaught TypeError: Vue is not a constructor
    at Object.create (eval at <anonymous> (app.js:1953), <anonymous>:669:16)
    at eval (eval at <anonymous> (app.js:1742), <anonymous>:7:48)
    at Object.<anonymous> (app.js:1742)
    at __webpack_require__ (app.js:660)
    at fn (app.js:84)
    at eval (eval at <anonymous> (app.js:2047), <anonymous>:3:3)
    at Object.<anonymous> (app.js:2047)
    at __webpack_require__ (app.js:660)
    at fn (app.js:84)
    at eval (eval at <anonymous> (app.js:1707), <anonymous>:1:74)

but it's working fine in App.vue

my vue-router version is 2.3 i think need to fix this error.

i don't know where is the exact problem.

@rstoenescu
Copy link
Member

Hi, please follow the issue template that gets injected when creating an issue. In your case, also supply more details. Where do you use the code you code-pasted, how do you structure routes, etc etc....

@AhsanAbrar
Copy link
Author

@rstoenescu i'm really sorry to disturb you, i fixed the issue.

yes, problem from my side.

Thanks for you quick response.

@rstoenescu
Copy link
Member

@AhsanAbrar no problem. I'm glad you figured it out!

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