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

[Feature Request]: Support the package next/font (the replacement of @next/font) #21330

Closed
armandabric opened this issue Mar 1, 2023 · 1 comment · Fixed by #21247
Closed

Comments

@armandabric
Copy link
Contributor

Is your feature request related to a problem? Please describe

Since next.js v13.2 deprecate the @next/font package in favor of the integrated next/font export. The storybook next.js integration only support the @next/font one for now. Using next/font trigger an error

image

Describe the solution you'd like

Storybook should handle the two packages.

Describe alternatives you've considered

No response

Are you able to assist to bring the feature to reality?

yes, I can

Additional context

@shilman
Copy link
Member

shilman commented Mar 2, 2023

Son of a gun!! I just released https://github.com/storybookjs/storybook/releases/tag/v7.0.0-beta.60 containing PR #21247 that references this issue. Upgrade today to the @next NPM tag to try it out!

npx sb@next upgrade --prerelease

@Cayan Cayan mentioned this issue Mar 6, 2023
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants