ionic-team / ionic-team/angular-toolkit

chore: Friendly error text when routes are not found

Aperta
#491 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
73
Fork
34
Merge medio
6m
PR unite (30g)
5

Descrizione

Currently, when in Standalone configuration and Route is not found, the following error is displayed

> Could not find your routes file. Use the skip-import option to skip importing.

The toolkit knows if a route file is a route file if the naming convention matches /.routes\.ts/. However, the file name can be changed at will. So, how about adding a sentence to the error statement such as "routes files are detected based on whether they match /.routes\.ts/"?

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.