Linking to JSON data from dist folder

One of the problems I came across recently whilst using Webpack was the fact that once yarn build -p had been run all the assets are given hashed filenames, such as: data.8687234d3.json But the JavaScript I had written was looking for and trying to load data from data.json. Webpack takes care of all the typical … Continued

Sage theme install

Installing Sage Based on our previous article How to install Bedrock, a WordPress boilerplate you will have a WordPress site up an running. We will now be building our template to control the layout of our site. # Change directory to our themes folder $ cd /var/www/example.co.uk/public_html/bedrock/web/app/themes/ Install Sage using Composer from your WordPress themes directory … Continued