when I remove the .blade extension of the custom template for my homepage, the site doesn’t load any css at all. when i put it back to .php.blade, i get the original css from sage showing, but none of my new stuff and none of any HTML i added to the template - even though when i run yarn build it shows that the files were compiled. however, it continues to show file compilation messages for the exact same edited files (anything that wasn’t in the original sage 9) every time i run yarn build, no matter whether i’ve edited them in the meantime or not:
Do the changes ever show up? Are you on Windows? Is VirtualBox the hypervisor for Vagrant (VVV)? VBox is known to be slow on Windows if you are.
Confirm for me: accessing the website via the devUrl that you’ve specified in your config.json does bring you to the site (regardless of the state of the CSS). Also, confirm the same for localhost:3000.
Is just the CSS not working? Are there any Stylelint errors? Does running yarn lint:styles show any issues?
Is the publicPath shared above correct for your WordPress installation? You don’t happen to be doing anything with installing WordPress in a subdirectory or anything different.
Is your site being server with HTTPS? Is https:// in site_url or home?
When using yarn start you are only accessing the site from the proxyUrl, correct?
Sorry for all the questions. I’m just trying to pin point what is wrong as according to your config.json everything should work.
There’s a bunch of stuff I usually try when troubleshooting the build process that I’ve collected here:
Was this all working before? Or did it stop working all of a sudden? Because if it was working before then I wonder if retracing your steps could help to identify the issue.
I just tried installing a clean install of Sage (dev-master) with the Foundation preset and it works (using Valet as my development environment). I wonder if the issue has to do with the environment. Could you try creating/activating a new Sage install (with Foundation) within your themes directory just to confirm that that works?
doing that now, but this is a brand new sage install as of this AM. i’ve been trying to get it working all day. to confirm, when the message in the console asks:
Are you sure you want to overwrite the following files?
I’m supposed to write “yes” in order to be able to configure foundation correctly, correct?
This will give a verbose output of what is happening with Browsersync which isn’t necessarily the problem. If there are any errors in the output, share them here, otherwise, you can remove the prescribed code.