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
Copy file name to clipboardExpand all lines: README.md
+32Lines changed: 32 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -89,6 +89,38 @@ Note:
89
89
'patternfly.charts'
90
90
]);
91
91
92
+
### Using with Webpack
93
+
94
+
In order to use Angular-Patternfly in a Webpack-bundled application there are some things you need to keep in mind:
95
+
96
+
#### Create an alias for the jQuery module
97
+
98
+
In order to let Webpack find the correct jQuery module when assembling all the dependencies you need to create an alias for it in the webpack.conf.js file:
Additionally, you have to use the `webpack.ProvidePlugin` so the $ and the jQuery variables are added to the `window` object, making them available to the other modules (Patternfly included):
0 commit comments