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
I am struggling to get this working in Laravel. This is what I have done so far: npm install postcss-purgecss-laravel --save-dev npm install tailwindcss --save-dev
This discussion was converted from issue #5 on January 11, 2023 13:49.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi Team
I am struggling to get this working in Laravel. This is what I have done so far:
npm install postcss-purgecss-laravel --save-dev
npm install tailwindcss --save-dev
Then I run
npm run production
But all I get is the error:
TypeError: mix.postCss(...).purgeCss is not a function
Is there something else I need to install, or have I just done it incorrectly?
Beta Was this translation helpful? Give feedback.
All reactions