Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
design
js
scss
views
.yo-rc.json
Gruntfile.js
README.md
addon.json
advanced-editor.png
bower.json
class.editor.plugin.php
generate_thumbnail.php
icon-template-798x798.png
icon.png
mimetypes.php
package.json
yarn.lock

README.md

Advanced Editor

Compiling assets

The following instructions assume that you have already installed Node.js on your computer. If this is not the case, please download and install the latest stable release from the official Node.js download page. If you are using Homebrew, you can also install Node.js via the command line:

$ brew install node

Notice: It is important that you install Node in a way that does not require you to sudo.

Once you have Node.js up and running, you will need to install the local dependencies using npm:

$ npm install

Tasks

Build - npm run build

Compiles all theme assets using Grunt. SCSS stylesheets will be compiled to design/custom.css and Javascripts will be concatenated and output to js/custom.js.

Bower doesn't have any dependencies here, so you need to manually create the folder "bower_components" so npm doesn't crash.

Watch - npm run watch

Watches the assets for changes and runs the appropriate Grunt tasks. Also starts a Livereload server that will push the changes to your Vanilla installation automatically.

You can’t perform that action at this time.