Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refine Button story code examples #1402

Merged
merged 1 commit into from
Jul 19, 2021

Conversation

gerardo-rodriguez
Copy link
Member

@gerardo-rodriguez gerardo-rodriguez commented Jul 15, 2021

Overview

This PR refines the Button story code examples.

Testing

Preview: https://deploy-preview-1402--cloudfour-patterns.netlify.app/?path=/docs/components-button--button-element

  1. Review the Icon component story code examples for accuracy

@changeset-bot
Copy link

changeset-bot bot commented Jul 15, 2021

⚠️ No Changeset found

Latest commit: 7040c8c

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@gerardo-rodriguez gerardo-rodriguez self-assigned this Jul 15, 2021
@gerardo-rodriguez gerardo-rodriguez requested review from tylersticka and a team July 15, 2021 23:42
@gerardo-rodriguez gerardo-rodriguez marked this pull request as ready for review July 15, 2021 23:42
@@ -1,5 +1,16 @@
import { Story, Canvas, Meta } from '@storybook/addon-docs/blocks';
// The '!!raw-loader!' syntax is a non-standard, Webpack-specific, syntax.
// See: https://github.com/webpack-contrib/raw-loader#examples
// For now, it seems likely Storybook is pretty tied to Webpack, therefore, we are
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://storybook.js.org/blog/storybook-for-vite/

Storybook has pluggable bundlers now, so it's not very tied to webpack anymore. But we could make a vite plugin for this syntax if we switched to vite

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like that idea, @calebeby. I think it's probably a bit bigger than this PR, so I've drafted a new issue. Feel free to edit or comment on it if I've misinterpreted your idea: #1403

@gerardo-rodriguez gerardo-rodriguez merged commit 0209d40 into v-next Jul 19, 2021
@gerardo-rodriguez gerardo-rodriguez deleted the chore/refine-button-code-examples branch July 19, 2021 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants