Elimin8r
is a WordPress starter theme that utilizes Vite as a build tool.
Elimin8r has been tested with WordPress version 6.6+. Any versions below this may result in Elimin8r not working as intended.
The theme uses Vite to compress images, minify JavaScript and compile Sass stylesheets. You will therefore need to ensure you have the following tools installed:
To start using the build tools that come with Elimin8r, you need to install the necessary dependencies. Run the following command in the root of the Elimin8r theme directory:
$ npm install
Elimin8r comes with the following commands for building assets:
Watch for asset changes
$ npm run watch
Build assets
$ npm run build
All of the raw, uncompressed assets are located in the theme’s /resources directory.
Upon running the build tool, all assets in the /resources directory will be compressed and placed into the theme’s /public directory.