-
Notifications
You must be signed in to change notification settings - Fork 114
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
Cannot run the dev mode (npm run dev) #6
Comments
I don't know how to solve the issue you are facing but I am using WAMP to run wordpress and npm run dev to run the javascipt file. It might be hacky, but it works for me |
Ya, you would need a local WP set up using XAMP/WAMP or whatever, which is used to serve the site. The webpack dev server is just used for the live reloading of the JS and CSS files. You wouldn't try and access the dev site through It is pretty hacky, but it was the only solution I could come up with that was still practical. |
Hi @bucky355
Thanks for this awesome work you made with this repo. Very interesting aproach. I'll give it a try.
So far it's all working. Except that I can't run the dev mode (meaning: npm run dev). "npm run build" is perfectly working though.
The steps I tried (following your docs):
1.) startet "npm run dev" in the console, where the theme lives (seems to work: "compiled successfully")
2.) edited functions.php as described
3.) I open the url (localhost:8080) and only get a listing with files and folders of the root folder in my WordPress theme.
What am I doing wrong?
Thanks so much for helping me out.
Cheers
Michael
The text was updated successfully, but these errors were encountered: