You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use localhost instead of 0.0.0.0 for host so app opens correctly on windows
use enzyme-adapter-react-17 to ensure jest test works
remove stub async module support
prevent url from changing when selecting SkipToContent component
update readme screenshot preview
patch storybook
Copy file name to clipboardExpand all lines: README.md
+10-7Lines changed: 10 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,16 +4,16 @@ Patternfly Seed is an open source build scaffolding utility for web apps. The pr
4
4
5
5
Out of the box you'll get an app layout with chrome (header/sidebar), routing, build pipeline, test suite, and some code quality tools. Basically, all the essentials.
6
6
7
-
<imgwidth="1058"alt="Out of box dashboard view of patternfly seed"src="https://user-images.githubusercontent.com/5942899/82119580-b4cf9380-974d-11ea-9f13-fa10471c5c73.png">
7
+
<imgwidth="1058"alt="Out of box dashboard view of patternfly seed"src="https://user-images.githubusercontent.com/5942899/103803761-03a0a500-501f-11eb-870a-345d7d035e6b.png">
To use an image asset that's shipped with PatternFly core, you'll prefix the paths with "@assets". `@assets` is an alias for the PatternFly assets directory in node_modules.
58
58
@@ -69,7 +69,7 @@ import loader from '@app/assets/images/loader.gif';
69
69
<img src={loader} alt="Content loading />
70
70
```
71
71
72
-
## Vector Image Support
72
+
## Vector image support
73
73
Inlining SVG in the app's markup is also possible.
74
74
75
75
```js
@@ -84,7 +84,10 @@ body {
84
84
}
85
85
```
86
86
87
-
## Code Quality Tools
87
+
## Adding custom CSS
88
+
When importing CSS from a third-party package for the first time, you may encounter the error `Module parse failed: Unexpected token... You may need an appropriate loader to handle this file typ...`. You need to register the path to the stylesheet directory in [stylePaths.js](./stylePaths.js). We specify these explicity for performance reasons to avoid webpack needing to crawl through the entire node_modules directory when parsing CSS modules.
89
+
90
+
## Code quality tools
88
91
* For accessibility compliance, we use [react-axe](https://github.com/dequelabs/react-axe)
89
92
* To keep our bundle size in check, we use [webpack-bundle-analyzer](https://github.com/webpack-contrib/webpack-bundle-analyzer)
90
93
* To keep our code formatting in check, we use [prettier](https://github.com/prettier/prettier)
0 commit comments