generator-aurelia-base
v0.1.6
Published
Yeoman controls and views generator for the JavaScript Framework Aurelia
Downloads
5
Maintainers
Readme
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
andjspm install
after downloading the boilerplate app, so this shortens the process to get up and running.
- Verify that Yeoman is installed
npm install -g yo
- Install this generator
npm install -g generator-aurelia-components
- 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.