feat(devx): introduce storybook

First shot at introducing storybook, with stories for the keycloak
theme pages already in the repo.
This commit is contained in:
Waldemar Reusch
2023-03-12 00:41:14 +01:00
parent 38dd7a946e
commit 8cdc6b7730
9 changed files with 7120 additions and 157 deletions

18
.storybook/main.js Normal file
View File

@ -0,0 +1,18 @@
module.exports = {
"stories": [
"../src/keycloak-theme/pages/Login.stories.tsx",
"../src/keycloak-theme/pages/Register.stories.tsx",
"../src/keycloak-theme/pages/MyExtraPage1.stories.tsx",
"../src/keycloak-theme/pages/MyExtraPage2.stories.tsx",
],
"addons": [
"@storybook/addon-links",
"@storybook/addon-essentials",
"@storybook/addon-interactions",
"@storybook/preset-create-react-app"
],
"framework": "@storybook/react",
"core": {
"builder": "@storybook/builder-webpack5"
}
}