fix(v2): remove buggy routesLoaded + deprecate routesLoaded lifecycle (#3141)

* remove bad deletion of docs / if conflicting with a page

* deprecate routesLoaded
This commit is contained in:
Sébastien Lorber 2020-07-28 14:28:14 +02:00 committed by GitHub
parent ac757e9dff
commit d25d4b08f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 30 deletions

View file

@ -138,7 +138,7 @@ export interface Plugin<T, U = unknown> {
content: T;
actions: PluginContentLoadedActions;
}): void;
routesLoaded?(routes: RouteConfig[]): void;
routesLoaded?(routes: RouteConfig[]): void; // TODO remove soon, deprecated (alpha-60)
postBuild?(props: Props): void;
postStart?(props: Props): void;
configureWebpack?(