I need to replace tailwind with bootstrap , I will make all the blade files with tailwind and add them to a projecj which is created using bootstrap. The project was done using laravel 5.5.
Should I remove all dependencies of bootstrap before adding tailwing.?
I'm not sure in what direction you're heading here. Do you want to replace Tailwind with Bootstrap (go from Tailwind to Bootstrap) or the other way around (replacing Bootstrap with Tailwind)?
You can try to use both at the same time until your migration is done. I won't recommend this, as it definitely will have an effect on your styling and will result in unexpected behaviours.
Either way, you would probably want to decide for one framework / library and then stick with it. Migrate over all of your styling and then remove the unwanted dependency from your project and make sure to cleanup your build process, if necessary.
In your tailwind config file you can add a prefix for all tailwind classes this way these classes won't overlap and can be used together with the bootstrap classes that are already used in your project.
module.exports = {
prefix: 'tw-',
}
Only file that might still cause some minor issues is normalize.css but nothing that's not fixable.