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: docs/src/pages/Usage.mdx
+34-12Lines changed: 34 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,18 +44,40 @@ If you are using TypeScript, you don't need to install anything, typings are inc
44
44
45
45
### Option 2: CDN (no bundler)
46
46
47
-
This is the quickest way to get started, just add this link and script tag to the `<head>` of your `index.html` file.
47
+
This is the quickest way to get started _however_ we still recommend to use
48
+
[Create React App](https://create-react-app.dev/), [Next.js](https://nextjs.org/) or other preconfigured tooling.
49
+
50
+
Follow React's guide to prepare your enrivonment: [Add React in One Minute](https://reactjs.org/docs/add-react-to-a-website.html#add-react-in-one-minute).
51
+
And then just add this link and script tag to the `<body>` after initializing React in your `index.html` file.
@@ -70,9 +92,9 @@ Semantic UI React is fully supported by all modern JavaScript bundlers.
70
92
71
93
Semantic UI React is fully compatible with `create-react-app` and works out the box. Setting up of custom theme is covered in [Theming guide](/theming).
72
94
73
-
### Webpack 4
95
+
### Webpack 4/5
74
96
75
-
Semantic UI React is fully supported by Webpack 4. Please ensure that you build your app in [production mode](https://webpack.js.org/guides/production/) before release. Semantic UI React includes several optimizations in production mode, such as stripping `propTypes` from your build.
97
+
Semantic UI React is fully supported by Webpack 4/5. Please ensure that you build your app in [production mode](https://webpack.js.org/guides/production/) before release. Semantic UI React includes several optimizations in production mode, such as stripping `propTypes` from your build.
0 commit comments