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
docs: updated some commands and improved a statement
Some old commands were not working; replaced them with the new ones.
Reference: for fixing package installation, took the reference from tailwindlabs/tailwindcss#3432 (comment)
Webiny currently uses [Webpack 4](https://v4.webpack.js.org/) which doesn't support PostCSS 8 yet. So, we'll need to install the [Tailwind CSS v2.0 PostCSS 7 compatibility](https://tailwindcss.com/docs/installation#post-css-7-compatibility-build) build for now as shown above.
@@ -163,7 +163,7 @@ Now that we have added Tailwind CSS to Webpack configuration, let's move on to t
163
163
Next, generate your `tailwind.config.js` file. From the root of your project run the following command:
164
164
165
165
```
166
-
tailwindcss init
166
+
npx tailwindcss init
167
167
```
168
168
169
169
:::note
@@ -191,7 +191,7 @@ module.exports = {
191
191
Learn more about configuring Tailwind in the [configuration documentation](https://tailwindcss.com/docs/configuration).
192
192
:::
193
193
194
-
Now that we have this global configuration, let's use it in the **Website**`(apps/website)` React application as shown below:
194
+
Now that we have this global configuration, let's use it in the **Website**`(apps/website)` React application by creating a `tailwind.config.js` file in `apps/website/code` directory as shown below:
0 commit comments