adopted-ember-addons / adopted-ember-addons/ember-router-helpers

how to use url-for with Engines?

Aperta
#93 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
38
Fork
16
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I created a demo repo that uses `{{url-for "an-external-route"}}`, but I get "There is no route named..."

Where `"an-external-route"` is a mapping of:

```
externalRoutes: {
'an-external-route': 'a-parent-app-route.index'
}
```

If I change `"an-external-route"` to be the name of an _actual route_ in the host app, then it works.

https://github.com/amk221/-ember-url-for-helper-example

Do we need `url-for-external`?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.