-
Notifications
You must be signed in to change notification settings - Fork 4.7k
In the production environment: TypeError: Cannot read property '$options' of undefined #682
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
Comments
Hmmm .... I guess what you said should be |
@ulivz You are right and I have corrected this mistake. BTW my Vue.js version is 2.5.16. |
@ulivz Ok, I just found the reason. I didn't realize that the |
@ulivz But hold on, in this section of the VuePress docs, there is a |
@meteorlxy Thank you, nice guy~ |
@ItsRyanWu |
@Kylinyu |
Bug report
(picture 1 in development enviroment)
(picture 2 in production environment)
My custom VuePress template works well in the development environment (picture 1)
But it cannot show the
<router-view>
part after I build it and make it run on Github pages. (picture 2)You can see in the right part of picture 2 it says that 'TypeError: Cannot read property '$options' of undefined' after I click any
<router-link>
item in the navbar.Version
VuePress 0.12.0
Vue 2.5.16
Steps to reproduce
My gh-pages website is: https://zeyun.me
The repo of the website is: https://github.com/RyanWuuu/RyanWuuu.github.io
What is expected?
can run without error in the production mode
What is actually happening?
cannot run in the production mode but can in the development mode
Other relevant information
The text was updated successfully, but these errors were encountered: