[PS] fix broken local Storybook (#9075)
* add disableRoutesGraph to compdocArgs * fix popup-layout story routes
This commit is contained in:
parent
de0852431a
commit
27d4178287
10
angular.json
10
angular.json
|
@ -142,7 +142,15 @@
|
|||
"configDir": ".storybook",
|
||||
"browserTarget": "components:build",
|
||||
"compodoc": true,
|
||||
"compodocArgs": ["-p", "./tsconfig.json", "-e", "json", "-d", "."],
|
||||
"compodocArgs": [
|
||||
"-p",
|
||||
"./tsconfig.json",
|
||||
"-e",
|
||||
"json",
|
||||
"-d",
|
||||
".",
|
||||
"--disableRoutesGraph"
|
||||
],
|
||||
"port": 6006
|
||||
}
|
||||
},
|
||||
|
|
|
@ -315,13 +315,13 @@ export default {
|
|||
importProvidersFrom(
|
||||
RouterModule.forRoot(
|
||||
[
|
||||
{ path: "", redirectTo: "vault", pathMatch: "full" },
|
||||
{ path: "vault", component: MockVaultPageComponent },
|
||||
{ path: "generator", component: MockGeneratorPageComponent },
|
||||
{ path: "send", component: MockSendPageComponent },
|
||||
{ path: "settings", component: MockSettingsPageComponent },
|
||||
{ path: "", redirectTo: "tabs/vault", pathMatch: "full" },
|
||||
{ path: "tabs/vault", component: MockVaultPageComponent },
|
||||
{ path: "tabs/generator", component: MockGeneratorPageComponent },
|
||||
{ path: "tabs/send", component: MockSendPageComponent },
|
||||
{ path: "tabs/settings", component: MockSettingsPageComponent },
|
||||
// in case you are coming from a story that also uses the router
|
||||
{ path: "**", redirectTo: "vault" },
|
||||
{ path: "**", redirectTo: "tabs/vault" },
|
||||
],
|
||||
{ useHash: true },
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue