generator-aurelia-base

0.1.6 • Public • Published

generator-aurelia

This is a Yeoman Generator for the Components of the Aurelia platform. It sets up a standard navigation-style app using gulp to build your ES6 code with Babel. Karma/Jasmine testing is configured as well.

For more info please visit the official site: http://www.aurelia.io/

Prerequisite

This generator will use JSPM, Aurelias package manager of choice, which performs GitHub queries to install semver packages, but GitHub has a rate limit on anonymous API requests. It is advised that you configure jspm with your GitHub credentials in order to avoid problems. You can do this by executing jspm registry config github and following the prompts. If you choose to authorize jspm by an access token instead of giving your password (see GitHub Settings > Personal Access Tokens), public_repo access for the token is required.

Running The App

The recent update will take care of running npm install and jspm install after downloading the boilerplate app, so this shortens the process to get up and running.

  1. Verify that Yeoman is installed
npm install -g yo
  1. Install this generator
npm install -g generator-aurelia-components
  1. Inside your porject just do
yo aurelia:view YOURPAGENAME
 

OR

yo aurelia:component YOURCOMPONENTNAME

OR

yo aurelia:example YOURCOMPONENTEXAMPLENAME

Credits

Thanks to Vildan Softic for his awesome generator-aurelia repo.

Package Sidebar

Install

npm i generator-aurelia-base

Weekly Downloads

0

Version

0.1.6

License

MIT

Last publish

Collaborators

  • wegorelax