-
Notifications
You must be signed in to change notification settings - Fork 281
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
No content displaying #122
Comments
I managed to fix it, at least partially. When you encounter the same problem and you are running a local env like XAMPP ( as I do ), your URL looks something like "https://localhost/wordpress", therefore in router/index.js your paths should look like this path: '/wordpress' and not like the default '/'. This fixed the homepage ( the default one ) and the posts for me, I'm still having a struggle with displaying the Page ( eg. Sample Page ), I'm only seeing Loading... and nothing never loads ( no console errors ). |
It seems that Pages are treated as Posts therefore the Vue methods can't handle the content ( I'm basing that on WP/Vue loading the Post.vue template instead of Page.vue ). post variable is never set to true ( or just not false ) and Page view is stuck in the infinite loading screen. Correct me if I'm wrong about this :D |
I have encounted the same error. |
Hello, after installation I had a problem with all.filter not being a function, after some tweaking in settings.js and router I eliminated the console errors.
Now my console is clear but there is still no content ( no homepage, no blog, can't even see the Hello world post via the "View" button )
Does anyone have an idea why is that?
The text was updated successfully, but these errors were encountered: