# vNext

**URL:** https://discourse.aurelia.io/c/vnext/8.md?page=3

[Latest](https://discourse.aurelia.io/latest.md) · [Categories](https://discourse.aurelia.io/categories.md)

**Page:** 4

---

## [I created a Material Web Components skeleton for Aurelia 2](https://discourse.aurelia.io/t/i-created-a-material-web-components-skeleton-for-aurelia-2/5054)

<div class="topic-metadata">

**Author:** [@mreiche](https://discourse.aurelia.io/u/mreiche)\
**Replies:** 6\
**Last updated:** [January 23, 2023, 9:21am UTC](https://discourse.aurelia.io/t/i-created-a-material-web-components-skeleton-for-aurelia-2/5054 "2023-01-23T09:21:26Z")

</div>

Hi. Material Web Components 3 have been released last week (Release v1.0.0-pre.1 · material-components/material-web · GitHub) I created a minimalistic example in Aurelia 2: GitHub - mreiche/mdc-web-aurelia2 What’s mis…

---

## [Aurelia 2.0.0-beta.1 event handling changes](https://discourse.aurelia.io/t/aurelia-2-0-0-beta-1-event-handling-changes/5058)

<div class="topic-metadata">

**Author:** [@Node0](https://discourse.aurelia.io/u/Node0)\
**Replies:** 0\
**Last updated:** [January 20, 2023, 12:06am UTC](https://discourse.aurelia.io/t/aurelia-2-0-0-beta-1-event-handling-changes/5058 "2023-01-20T00:06:01Z")

</div>

Aurelia 2.0.0-beta.1 updates for event linkage in templates and handling in view-models (TS/JS) Like many of you, I immediately updated when I heard the news come out regarding 2.0.0-beta.1, and it’s an overall win in ma…

---

## [Routes within au-compose](https://discourse.aurelia.io/t/routes-within-au-compose/5057)

<div class="topic-metadata">

**Author:** [@elitastic](https://discourse.aurelia.io/u/elitastic)\
**Replies:** 2\
**Last updated:** [January 19, 2023, 10:57am UTC](https://discourse.aurelia.io/t/routes-within-au-compose/5057 "2023-01-19T10:57:03Z")

</div>

I am currently running tests with Aurelia 2 and router-lite. My goal is to render dynamic components (“Tabs”) with au-compose and using child routing within the components using a new viewport. Is this somehow possib…

---

## [How to route to sibling route](https://discourse.aurelia.io/t/how-to-route-to-sibling-route/5053)

<div class="topic-metadata">

**Author:** [@elitastic](https://discourse.aurelia.io/u/elitastic)\
**Replies:** 2\
**Last updated:** [January 17, 2023, 5:03pm UTC](https://discourse.aurelia.io/t/how-to-route-to-sibling-route/5053 "2023-01-17T17:03:04Z")

</div>

I would like to route to a sibling route in Aurelia v2, but I can’t get it to work. Could someone help me, please? Thanks for any advice.

---

## [Announcing Aurelia 2 Examples](https://discourse.aurelia.io/t/announcing-aurelia-2-examples/4938)

<div class="topic-metadata">

**Author:** [@dwaynecharrington](https://discourse.aurelia.io/u/dwaynecharrington)\
**Replies:** 2\
**Last updated:** [December 28, 2022, 10:21pm UTC](https://discourse.aurelia.io/t/announcing-aurelia-2-examples/4938 "2022-12-28T22:21:27Z")

</div>

Hello, my favourite community, You might have noticed that we have been busy over in Aurelia land. Firstly, if you haven’t checked out the docs in a while, you’re in for a real treat. Over the last few months, we’ve inv…

---

## [Server-side Rendering](https://discourse.aurelia.io/t/server-side-rendering/2973)

<div class="topic-metadata">

**Author:** [@khuongduybui](https://discourse.aurelia.io/u/khuongduybui)\
**Replies:** 8\
**Last updated:** [November 13, 2022, 4:53pm UTC](https://discourse.aurelia.io/t/server-side-rendering/2973 "2022-11-13T16:53:09Z")

</div>

Continuing the discussion from ISO: Moon Shots: I got the initial state rendering kinda working ish. But I can’t find anything on progressive enhancement in vNext: https://github.com/aurelia/aurelia/search?q=enhance A…

---

## [Error messages in Aurelia 2](https://discourse.aurelia.io/t/error-messages-in-aurelia-2/4977)

<div class="topic-metadata">

**Author:** [@elitastic](https://discourse.aurelia.io/u/elitastic)\
**Replies:** 0\
**Last updated:** [November 10, 2022, 1:36pm UTC](https://discourse.aurelia.io/t/error-messages-in-aurelia-2/4977 "2022-11-10T13:36:08Z")

</div>

I’m doing some experiments with Aurelia 2 and I keep getting very cryptic error messages like e.g.: vendors-92859860d3f0f248a8a1.js:14483 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'co…

---

## [Aurelia 2 - route-href](https://discourse.aurelia.io/t/aurelia-2-route-href/4964)

<div class="topic-metadata">

**Author:** [@roemhildtg](https://discourse.aurelia.io/u/roemhildtg)\
**Replies:** 4\
**Last updated:** [November 4, 2022, 8:50pm UTC](https://discourse.aurelia.io/t/aurelia-2-route-href/4964 "2022-11-04T20:50:52Z")

</div>

Is there a similar function to using route-href in aurelia 2? My use case is I like how aurelia 1 where you can generate route urls based on the name of the route - it lets you easily name your routes and re-configure t…

---

## [canLoad redirect with @aurelia/router](https://discourse.aurelia.io/t/canload-redirect-with-aurelia-router/4786)

<div class="topic-metadata">

**Author:** [@ivan](https://discourse.aurelia.io/u/ivan)\
**Replies:** 8\
**Last updated:** [November 3, 2022, 4:52pm UTC](https://discourse.aurelia.io/t/canload-redirect-with-aurelia-router/4786 "2022-11-03T16:52:00Z")

</div>

I am using @aurelia/router instead of router-lite and would like to redirect a user to the “home page” if a certain condition is met. main.js import { RouterConfiguration } from '@aurelia/router' Aurelia .register(R…

---

## [Router scopes and child routes](https://discourse.aurelia.io/t/router-scopes-and-child-routes/4955)

<div class="topic-metadata">

**Author:** [@ivan](https://discourse.aurelia.io/u/ivan)\
**Replies:** 0\
**Last updated:** [October 25, 2022, 8:48am UTC](https://discourse.aurelia.io/t/router-scopes-and-child-routes/4955 "2022-10-25T08:48:20Z")

</div>

I have the following routing structure. Main router options useUrlFragmentHash: true Main router { path: 'child-01', ... }, { path: 'child-02', ... } Child-01 { path: 'home', ... }, { path: 'dashboard', ... } Chil…

---

## [How does Aurelia lookup Custom Tags?](https://discourse.aurelia.io/t/how-does-aurelia-lookup-custom-tags/4937)

<div class="topic-metadata">

**Author:** [@Kremnari](https://discourse.aurelia.io/u/Kremnari)\
**Replies:** 0\
**Last updated:** [October 5, 2022, 8:25pm UTC](https://discourse.aurelia.io/t/how-does-aurelia-lookup-custom-tags/4937 "2022-10-05T20:25:50Z")

</div>

When the dom changes, and Aurelia is looking up element tags, what files/functions does it go through? Where is the list of known html tags/js classes stored? Does it just look for the data in webpacks require/export l…

---

## [Weird router behaviour. Child view not loading](https://discourse.aurelia.io/t/weird-router-behaviour-child-view-not-loading/4933)

<div class="topic-metadata">

**Author:** [@ivan](https://discourse.aurelia.io/u/ivan)\
**Replies:** 0\
**Last updated:** [October 4, 2022, 7:03am UTC](https://discourse.aurelia.io/t/weird-router-behaviour-child-view-not-loading/4933 "2022-10-04T07:03:10Z")

</div>

I just noticed some weird behaviour. I have a router and a child router in my app. The router is in my-app.js and the child router is in live.js. main.js import { RouterConfiguration } from '@aurelia/router' Aurelia …

---

## [Aurelia 2: Breaking change trying to update Aurelia Version](https://discourse.aurelia.io/t/aurelia-2-breaking-change-trying-to-update-aurelia-version/4873)

<div class="topic-metadata">

**Author:** [@lfoust](https://discourse.aurelia.io/u/lfoust)\
**Replies:** 8\
**Last updated:** [September 16, 2022, 9:17am UTC](https://discourse.aurelia.io/t/aurelia-2-breaking-change-trying-to-update-aurelia-version/4873 "2022-09-16T09:17:19Z")

</div>

I am trying to update my Aurelia 2 app from version 2.0.0-alpha.21 to the latest and I seemed to have hit a breaking change I can’t figure out. I was able to narrow it down to the change from version 2.0.0-alpha.29 -\> 2.…

---

## [NEW Aurelia 2 Animation Docs](https://discourse.aurelia.io/t/new-aurelia-2-animation-docs/4897)

<div class="topic-metadata">

**Author:** [@dwaynecharrington](https://discourse.aurelia.io/u/dwaynecharrington)\
**Replies:** 2\
**Last updated:** [September 9, 2022, 3:17am UTC](https://discourse.aurelia.io/t/new-aurelia-2-animation-docs/4897 "2022-09-09T03:17:17Z")

</div>

Hello, Aurelians. Long time, no speak. Today, I am sharing a v1 of our new animation docs. Some of you might know that animation has been missing from the Aurelia 2 docs. This section details how to work with CSS animat…

---

## [Aurelia Animation](https://discourse.aurelia.io/t/aurelia-animation/4843)

<div class="topic-metadata">

**Author:** [@elitastic](https://discourse.aurelia.io/u/elitastic)\
**Replies:** 0\
**Last updated:** [July 11, 2022, 10:12am UTC](https://discourse.aurelia.io/t/aurelia-animation/4843 "2022-07-11T10:12:01Z")

</div>

Are there any plans if Aurelia Animation will be available in Aurelia 2?

---

## [Vitejs support Aurelia2 and 1?](https://discourse.aurelia.io/t/vitejs-support-aurelia2-and-1/4654)

<div class="topic-metadata">

**Author:** [@milkshakeuk](https://discourse.aurelia.io/u/milkshakeuk)\
**Replies:** 16\
**Last updated:** [July 11, 2022, 8:42am UTC](https://discourse.aurelia.io/t/vitejs-support-aurelia2-and-1/4654 "2022-07-11T08:42:23Z")

</div>

Will there by supported added for Vite. Seems like it’s getting quite popular, I think it’s the default for Vue3 for example.

---

## [Using interfaces in DI broken in 2.0.0-alpha.30](https://discourse.aurelia.io/t/using-interfaces-in-di-broken-in-2-0-0-alpha-30/4763)

<div class="topic-metadata">

**Author:** [@zeko77](https://discourse.aurelia.io/u/zeko77)\
**Replies:** 2\
**Last updated:** [June 1, 2022, 8:58am UTC](https://discourse.aurelia.io/t/using-interfaces-in-di-broken-in-2-0-0-alpha-30/4763 "2022-06-01T08:58:49Z")

</div>

After the update, following code fails with an error: TS2554: Expected 1 arguments, but got 0. import { IEventAggregator } from 'aurelia'; export class MyApp { constructor( @IEventAggregator private ea: IEventAggreg…

---

## [Define routes dynamically based on dependencies](https://discourse.aurelia.io/t/define-routes-dynamically-based-on-dependencies/4705)

<div class="topic-metadata">

**Author:** [@elitastic](https://discourse.aurelia.io/u/elitastic)\
**Replies:** 7\
**Last updated:** [May 30, 2022, 11:08am UTC](https://discourse.aurelia.io/t/define-routes-dynamically-based-on-dependencies/4705 "2022-05-30T11:08:29Z")

</div>

In v1, it was possible to specifiy routes dynamically based on dependencies like: @autoinject export class MyComponent { constructor( private permissions: Permissions) { } async configureRouter(config: Router…

---

## [Render app inside a web component](https://discourse.aurelia.io/t/render-app-inside-a-web-component/4745)

<div class="topic-metadata">

**Author:** [@ivan](https://discourse.aurelia.io/u/ivan)\
**Replies:** 7\
**Last updated:** [May 5, 2022, 12:45pm UTC](https://discourse.aurelia.io/t/render-app-inside-a-web-component/4745 "2022-05-05T12:45:52Z")

</div>

I have built an aurelia v2 app and would like to add it to an existing website. I have gotten this to work by copying the created dist folder into the root of the website so it would look something like this: \<html lan…

---

## [V2 router hash routing question](https://discourse.aurelia.io/t/v2-router-hash-routing-question/4743)

<div class="topic-metadata">

**Author:** [@ivan](https://discourse.aurelia.io/u/ivan)\
**Replies:** 9\
**Last updated:** [April 27, 2022, 9:25pm UTC](https://discourse.aurelia.io/t/v2-router-hash-routing-question/4743 "2022-04-27T21:25:22Z")

</div>

Using the following router configuration: Aurelia .register(DialogDefaultConfiguration) .register(RouterConfiguration.customize({ routingMode: 'configured-only', sameUrlStrategy: 'reload', useUrlFragment…

---

## [Struggling with the new router (AU2)](https://discourse.aurelia.io/t/struggling-with-the-new-router-au2/4710)

<div class="topic-metadata">

**Author:** [@Sjaak](https://discourse.aurelia.io/u/Sjaak)\
**Replies:** 7\
**Last updated:** [April 1, 2022, 11:16am UTC](https://discourse.aurelia.io/t/struggling-with-the-new-router-au2/4710 "2022-04-01T11:16:11Z")

</div>

Having spent over 4 hours trying to get this to work, I though I might ask the community. Using the latest alpha (v.26), I’m trying to get this URL to work: /package/Foo.Bar where Foo.Bar is a named argument (signature…

---

## [Switch/case statements in templates](https://discourse.aurelia.io/t/switch-case-statements-in-templates/4702)

<div class="topic-metadata">

**Author:** [@zeko77](https://discourse.aurelia.io/u/zeko77)\
**Replies:** 12\
**Last updated:** [March 23, 2022, 6:21am UTC](https://discourse.aurelia.io/t/switch-case-statements-in-templates/4702 "2022-03-23T06:21:20Z")

</div>

I have been experimenting with switch/case statements in templates. I tried to replace: \<template repeat.for="item of model.items"\> \<item if.bind="item.type ==='itm'" model.bind="item"\>\</item\> \<header if.bind="item.t…

---

## [\[Solved\] BindingSignaler](https://discourse.aurelia.io/t/solved-bindingsignaler/4704)

<div class="topic-metadata">

**Author:** [@elitastic](https://discourse.aurelia.io/u/elitastic)\
**Replies:** 2\
**Last updated:** [March 22, 2022, 3:08pm UTC](https://discourse.aurelia.io/t/solved-bindingsignaler/4704 "2022-03-22T15:08:34Z")

</div>

Does the BindingSignaler still exist in Aurelia 2? this.signaler.signal('xy'); \<div\>${functionCall() & signal:'xy'}\</div\> What’s the recommendation for advanced/complex update scenarios? Should we use the new watch() …

---

## [Making the eventaggregator global across enhanced aurelia roots](https://discourse.aurelia.io/t/making-the-eventaggregator-global-across-enhanced-aurelia-roots/4311)

<div class="topic-metadata">

**Author:** [@deap82](https://discourse.aurelia.io/u/deap82)\
**Replies:** 14\
**Last updated:** [March 13, 2022, 11:50am UTC](https://discourse.aurelia.io/t/making-the-eventaggregator-global-across-enhanced-aurelia-roots/4311 "2022-03-13T11:50:56Z")

</div>

I’ve started looking a Au2 from the perspective of an Aurelia 1 application that relies heavily on the “enhance” feature of Aurelia. I noticed in the docs that each enhanced element now gets its own DI container and I n…

---

## [Au-render and bindings in Aurelia 2](https://discourse.aurelia.io/t/au-render-and-bindings-in-aurelia-2/4684)

<div class="topic-metadata">

**Author:** [@zeko77](https://discourse.aurelia.io/u/zeko77)\
**Replies:** 6\
**Last updated:** [March 11, 2022, 7:37am UTC](https://discourse.aurelia.io/t/au-render-and-bindings-in-aurelia-2/4684 "2022-03-11T07:37:03Z")

</div>

I have been experimenting with au-render and au-compose. From what I understand, it is still work in progress. I have stumbled upon au-render’s ability to compose element using string as name. \<au-render component="my-…

---

## [Au2-admin-skeleton-bs5](https://discourse.aurelia.io/t/au2-admin-skeleton-bs5/4674)

<div class="topic-metadata">

**Author:** [@zeko77](https://discourse.aurelia.io/u/zeko77)\
**Replies:** 1\
**Last updated:** [March 6, 2022, 4:18pm UTC](https://discourse.aurelia.io/t/au2-admin-skeleton-bs5/4674 "2022-03-06T16:18:36Z")

</div>

For those who might find it useful for a quick start and experimentation, a skeleton app that ties together: Bootstrap 5 Full page login Basic routing Localization Component implementation is available at: GitHub -…

---

## [Aurelia 2 -help with routing between pages that use au-compose](https://discourse.aurelia.io/t/aurelia-2-help-with-routing-between-pages-that-use-au-compose/4671)

<div class="topic-metadata">

**Author:** [@cspainhour](https://discourse.aurelia.io/u/cspainhour)\
**Replies:** 0\
**Last updated:** [March 5, 2022, 8:26pm UTC](https://discourse.aurelia.io/t/aurelia-2-help-with-routing-between-pages-that-use-au-compose/4671 "2022-03-05T20:26:37Z")

</div>

Hi, I am trying to implement a view that implements the new Aurelia 2 composition: \<au-compose view-model.bind="view"\>\</au-compose\> My route for this page is: { id: ‘page’, path: ‘:section/:viewmodel/:id?’, component…

---

## [Virtualization (Vnext)](https://discourse.aurelia.io/t/virtualization-vnext/4167)

<div class="topic-metadata">

**Author:** [@bigopon](https://discourse.aurelia.io/u/bigopon)\
**Replies:** 4\
**Last updated:** [March 5, 2022, 8:45am UTC](https://discourse.aurelia.io/t/virtualization-vnext/4167 "2022-03-05T08:45:58Z")

</div>

I’m porting the v1 virtualization plugin, and preliminary work has been done. The first version is published here on npm, and the repo is here In case you are in the need for it :smiley: I’ll continue to update based on…

---

## [Resolved: V2: no exported member 'observable'?](https://discourse.aurelia.io/t/resolved-v2-no-exported-member-observable/4655)

<div class="topic-metadata">

**Author:** [@aGustafson](https://discourse.aurelia.io/u/aGustafson)\
**Replies:** 3\
**Last updated:** [March 2, 2022, 6:28pm UTC](https://discourse.aurelia.io/t/resolved-v2-no-exported-member-observable/4655 "2022-03-02T18:28:21Z")

</div>

Did I miss something? I am rebuilding an app in V2, trying to use the @observable decorator. My IDE and the build command are telling me aurelia has no exported member ‘observable’ using : 2.0.0-alpha.24

---

## [Configuration, Authentication and Api plugins for Aurelia 2 (lite experimental version)](https://discourse.aurelia.io/t/configuration-authentication-and-api-plugins-for-aurelia-2-lite-experimental-version/4658)

<div class="topic-metadata">

**Author:** [@zeko77](https://discourse.aurelia.io/u/zeko77)\
**Replies:** 1\
**Last updated:** [March 1, 2022, 8:34pm UTC](https://discourse.aurelia.io/t/configuration-authentication-and-api-plugins-for-aurelia-2-lite-experimental-version/4658 "2022-03-01T20:34:37Z")

</div>

Big fan of Aurelia 1 here. We have been using it in production for quite a while now. Our setup always included following 3 plugins: aurelia-configuration aurelia-authentication aurelia-api I got some free time last …

[Previous page](https://discourse.aurelia.io/c/vnext/8.md?page=2)

[Next page](https://discourse.aurelia.io/c/vnext/8.md?page=4)
