-
Notifications
You must be signed in to change notification settings - Fork 1
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
Docs(icons): Transpile icons #DS-987 #1758
Docs(icons): Transpile icons #DS-987 #1758
Conversation
✅ Deploy Preview for spirit-design-system-storybook canceled.
|
✅ Deploy Preview for spirit-design-system ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
b231150
to
e21d0cf
Compare
@@ -83,4 +83,21 @@ export const Icon = ({ name, , size }) => { | |||
}; | |||
``` | |||
|
|||
### Next.js with Pages Router |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
question (non-blocking): Is the app router okay without the setting?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As I mentioned in PR description, the App Router works correctly without the setting.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can push branch with demo if you want
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I mean here should be mentioned that the app router is ok. That is why I asked. So when the developer see it, it know that it will work in the app router without modification.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
3a41dee
to
271af54
Compare
941adb5
to
e5f281a
Compare
e5f281a
to
55d120e
Compare
Description
I've tried both App Router and Pages Router. In the App router, transpilePackages does not need to be in the configuration, in the Pages Router it is necessary.
Additionaly I fixed missing mandatory elementType in Heading component for both next examples demo pages.