Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 48981

Update to tailwind 3 with ionic 5

$
0
0

Hello there,
do there is any possibility to upgrade from tailwind 2 to 3
I’m currently with ionic 5 react

so after update here is some part from my package.json:

“devDependencies”: {
@capacitor/cli”: “^3.3.1”,
@graphql-codegen/cli”: “^2.2.2”,
@graphql-codegen/import-types-preset”: “^2.1.7”,
@graphql-codegen/typescript”: “^2.3.1”,
@graphql-codegen/typescript-operations”: “^2.2.0”,
@graphql-codegen/typescript-react-apollo”: “^3.2.1”,
@types/react-instantsearch-dom”: “^6.12.1”,
“autoprefixer”: “^10.4.2”,
“node-sass”: “^6.0.1”,
“postcss”: “^8.4.5”,
“tailwindcss”: “^3.0.13”
},

got this warning:

/src/theme/global.css (./node_modules/css-loader/dist/cjs.js??ref–5-oneOf-4-1!./node_modules/react-scripts/node_modules/postcss-loader/src??postcss!./src/theme/global.css)
[npm] Error: PostCSS plugin tailwindcss requires PostCSS 8.
[npm] Migration guide for end-users:
[npm] PostCSS 8 for end users · postcss/postcss Wiki · GitHub

I try to update postcss loader but same here

any idea ?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 48981

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>