forked from buefy/buefy
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(docs): rewrite router in TS (#408)
Rewrites the router defined in the `src/router` folder in TypeScript. In `index.(js → ts)`: - Augments the `RouteMeta` interface provided by `vue-router` with the `Route` interface defined in `src/data/routes.ts` so that the application can access the current `Route` information through the Vue router's meta data without any type error. Common benign changes: - Removes unused method parameters
- Loading branch information
Showing
2 changed files
with
18 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters