-
Vanilla CLI Overview (Deprecated)
Vanilla provides a command line tool to make various tasks easier for developers working on Vanilla Forums core or addons. Current functionalities include: Building frontend assets (scripts, stylesheets, and images). Generating cache files for addons. Converting addons’ PluginInfo/ThemeInfo to the addon.json format.…
-
Vanilla CLI Installation (Deprecated)
Prerequisites Vanilla CLI has the same pre-requisites as Vanilla. Setup Installation with Composer Run composer global require 'vanilla/vanilla-cli'. If your composer bin directory is on your path, you can now run the tool with vanilla. If you are having difficulty locating your composer bin directory it is likely located…
-
Vanilla CLI Build Transformations (Deprecated)
The Vanilla CLI’s sass and javascript build processes provide multiple methods to import other sass/css or javascript files. This only works with the built-in build processes. Javascript The javascript files are bundled not concatenated. Concatenation is how many legacy process work. A legacy build script would need to…
-
Vanilla CLI Build Structure (Deprecated)
This is one of the built-in build processes. It is based on the task runner gulp. It builds stylesheets using node-sass or less and bundles javascript with Webpack and babel. This build process was formerly called 1.0. It has now been renamed to v1. Existing addon.json files referencing the process version 1.0 will…