Generators
The Aurelia CLI includes generators to scaffold common Aurelia resources. Use the following command pattern:
au generate <resource> <name>Available resources include:
elementattributevalue-converterbinding-behaviortaskgenerator
For example, to generate a custom element:
au generate element my-awesome-elementThis creates src/resources/elements/my-awesome-element.js (or .ts if using TypeScript).
You can also create custom generators:
au generate generator my-custom-generatorLast updated
Was this helpful?