Closed anapaulalemos closed 1 year ago
Added the button component and its variations to the storybook.
In order to use the styles, we have to generate the pre-compiled styles and js files running the build script: npm run build:dist.
npm run build:dist
I updated the package.json storybook scripts so:
package.json
npm run storybook
npm run storybook:ci
I also updated the Github action to run the build before deploy the storybook 😀
cd govie-frontend npm i npm run storybook
The storybook server should open on the port 3000
Added the button component and its variations to the storybook.
In order to use the styles, we have to generate the pre-compiled styles and js files running the build script:
npm run build:dist
.I updated the
package.json
storybook scripts so:npm run storybook
, that will run the build script and after that will start the storybook server;npm run storybook:ci
that only starts the storybook serverI also updated the Github action to run the build before deploy the storybook 😀
To test:
The storybook server should open on the port 3000