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

Footer tag issue + loading nothing #3

Open
exequeryphil opened this issue Mar 27, 2017 · 5 comments
Open

Footer tag issue + loading nothing #3

exequeryphil opened this issue Mar 27, 2017 · 5 comments

Comments

@exequeryphil
Copy link

So this looks really cool. But there are two issues.

Gulp reports no closing tag. And it's definitely not there. Check Footer.vue.

When I fixed that and ran gulp serve, the process was error-free and everything seemed fine, but localhost:8080 returned an empty page. I'm not seeing errors anywhere so I'm not sure how to debug?

@bedakb
Copy link
Owner

bedakb commented Mar 28, 2017

Hi @exequeryphil thanks for reporting issue - I've fixed the wrong closing tag in Footer.vue.

Recently I pushed fixes for the #1 and #2 , could you please pull changes and check It now ?

Also have you followed and activated all required Plugins ? What Node version you have installed ?

@exequeryphil
Copy link
Author

exequeryphil commented Mar 28, 2017

I have my Wordpress installation on remote server, and mysql port 3306 is open and handling requests. What settings should I use for the .env file if I want to run the Vue app locally? Is it even possible to test the Vue app locally with a remote WP install?

The REST API plugin is installed and working. I'm using Node version 7.4.0.

@bedakb
Copy link
Owner

bedakb commented Mar 28, 2017

I guess you are mean that you have remote WP Database and WP Locally.If you do, then It should work properly with remote db, just fill .env with correct credentials.

@lyzs90
Copy link

lyzs90 commented Sep 18, 2017

im doing something similar, with my wordpress/mysql running on docker. it works fine if i pre-bundle and visit the site directly. got to find a way to make it work with gulp serve so i get to enjoy the good stuff 😄

i had to move <div id="app"></div> to footer.php above the wp_footer though. if i leave it in index.php, it says that #app cant be found and wont render Vue properly

@lyzs90
Copy link

lyzs90 commented Sep 18, 2017

figured it out 😄 turns out i just had to proxy through my wp server

gulp.task('browser-sync', function(){
  browserSync.init({
    proxy: 'http://<WP_IP>:<WP_PORT>',
    port: 8080,
    open: true,
    browser: 'chrome',
    notify: false
  });
});

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

3 participants