Journal entries tagged “How to”
Using Tailwind CSS in a WordPress Environment
To develop themes and plugins, I use the @wordpress/scripts package to do the build work. It comes with pre-defined webpack configs which work well for creating blocks and working within the requirements of the block editor. This post will assume you have familiarity with setting up your dev environment to make use of @wordpress/scripts. Recently […]
Getting NPM build scripts to run-on-save in SublimeText
Today I finally got my es2015 javascript to compile to es5 javascript automatically upon save. First, I set up my project using npm. I setup the following dev dependencies: babel-cli babel-core babel-preset-es2015 In the package.json file, I’ve got the following scripts setup … “scripts”: { “build-js”: “babel scripts.pre.js –out-file scripts.js”, “build”: “npm run build-js” … […]
Setting up Domain Mapping with WordPress MU
Most of this information can be found here, but I’d like to rewrite it for increased clarity and to add a few details. First some definitions: umbrella domain:Â the domain which houses the mu installation. other domain: the domain which will have a single WordPress site within the network. How To At the domain registrar, point […]