EvanAgee / vuejs-wordpress-theme-starter

A WordPress theme with the guts ripped out and replaced with Vue.
https://vuewp.com/
1.6k stars 281 forks source link

What is port number? #7

Closed ejoo closed 6 years ago

ejoo commented 6 years ago

I cannot access with http://localhost:8080/.

vksco commented 6 years ago

hopefully there can be any port for your project but you can use this as theme in wordpress , just run npm run watch (if you are using npm) or if your are using yarn then yarn run watch in root directory, it will watch for changes in ./src directory and directly compile it to ./dist/

EvanAgee commented 6 years ago

Hey @ejoo in this case webpack-dev-server isn't running the Wordpress instance, it's just being used to build the theme. So you'll need to run your Wordpress instance on whatever stack you normally would and then run the dev server to build your theme changes. Hope that helps!