Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
/ cli Public
forked from aurelia/cli

The command line tooling for Aurelia, used for creating projects, scaffolding, bundling and more.

License

Notifications You must be signed in to change notification settings

Bitcadia/cli

Open more actions menu
 
 

Repository files navigation

aurelia-cli

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.

Install

Run the following command to install aurelia-cli

npm install aurelia-cli -g

Configuration

The 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'
    }
  });
}

Usage

With Aureliafile.js file placed in the root of project containing the above configuration, run the following command to bundle the js modules.

aurelia bundle

To bundle the templates use:

aurela tb
``

About

The command line tooling for Aurelia, used for creating projects, scaffolding, bundling and more.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 95.8%
  • TypeScript 4.1%
  • HTML 0.1%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.