The command line tooling for Aurelia, used for creating projects, scaffolding, bundling and more.
To keep up to date on Aurelia, please visit and subscribe to the official blog. If you have questions, we invite you to join us on our Gitter Channel.
Run the following command to install aurelia-cli
npm install aurelia-cli -gThe cli uses Aureliafile.js for various configuration. An example config file looks like:
module.exports = function(aurelia) {
aurelia.bundle({
js: [{
moduleExpression: 'aurelia-skeleton-navigation/*',
fileName: 'nav-app-build.js',
options: {
inject: true
}
}, {
moduleExpression: 'aurelia-bootstrapper',
fileName: 'aurelia-framework-build.js',
options: {
inject: true
}
}],
template : {
pattern : 'dist/*',
outfile : 'bundle.html'
}
});
}With Aureliafile.js file placed in the root of project containing the above configuration, run the following command to bundle the js modules.
aurelia bundleTo bundle the templates use:
aurela tb
``