© Matthew Duffield 2018
Matthew DuffieldPractical App Development with Aurelia https://doi.org/10.1007/978-1-4842-3402-0_19

19. Creating Features

Matthew Duffield1 
(1)
West Linn, Oregon, USA
 

We now know how to write custom elements and attributes. It is pretty easy to create reusable components and reference them from any view by simply using the “require” tag in your HTML. We are going to learn how to reference our own components globally and remove the need for the “require” tag. Upon completing this chapter, you should have a firm understanding of how to define features in your code. You will be able to register your feature as well as gain access to all of your components from your HTML without using the “require” tag.

What Are Features ?

We use ...

Get Practical App Development with Aurelia: Leverage the Power of Aurelia to Build Personal and Business Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.