patternfly / patternfly/patternfly-org
Bug - SVGs - assets svg imports resulting in ModuleNotFound error
@jenny-s51 is already working on this.
Since Sep 22, 2023.
- Dominant language
- JavaScript
- Stars
- 74
- Forks
- 147
- Avg merge
- 4d 11h
- Merged PRs (30d)
- 2
Description
Describe the problem
A clear and concise description of the problem. Which components are affected?
Noted in patternfly/patternfly-react#9140 - moving 1 - 3 to a separate issue as this is out of scope from CodeSandbox and requires more investigation as to why the svgs are not found. @Dominik-Petrik is also running into this issue in his conversion effort for patternfly/patternfly-react#9553 .
Could not find module in path: '@patternfly/react-core/src/demos/assets/pf-logo-small.svg' relative to '/index.tsx'
-
Icon import paths in Primary Detail Card View demo are not correct and CodeSandbox demo does not render the icons correctly
-
Masthead fullscreen demo - imgAvatar and pfIcon not rendering correctly in CodeSandbox
-
Application Launcher - demos that import pfLogoSm not rendering PF icons within dropdown items in CodeSandbox
Jira Issue: PF-1965
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.