Open ravajihadiya opened 1 year ago
Hello @ravajihadiya
Accroding to this: https://github.com/MohammadYounes/rtlcss/issues/301#issuecomment-1282953195
You can configure postcss plugins inside postcss.config.js, to do that please follow the following steps:
npm install -D postcss-rtlcss
postcss.config.js
import postcssRTLCSS from 'postcss-rtlcss';
export default {
plugins: [
postcssRTLCSS()
]
}
Well @ravajihadiya did great explaining, but a bit of editing do the same steps as he wrote
Hello @ravajihadiya
Accroding to this: #301 (comment)
You can configure postcss plugins inside postcss.config.js, to do that please follow the following steps:
- Create postcss.config.js file in the root directory.
- Install postcss-rtl using
npm install -D postcss-rtlcss
- Add the folowing lines inside
postcss.config.js
Then put it like that in postcss.config.js:
export default {
plugins: {
autoprefixer: {},
'postcss-nested': {},
'postcss-rtlcss': {}. // --> Add this here and it will work
},
};
This rtlcss package how to use in Laravel vite.config.js, have you any suggestion ?? or demo code for that